Avara3D 0.2.0
C++ API reference
a3d::math::u8vec2 Struct Reference

#include <a3d/Math.h>

Public Member Functions

 u8vec2 ()
 
 u8vec2 (u8 x_, u8 y_)
 
 u8vec2 (u8 n)
 
 u8vec2 (const u8vec3 &v)
 
 u8vec2 (const u8vec4 &v)
 
u8 & operator[] (std::size_t i)
 
const u8 & operator[] (std::size_t i) const
 

Public Attributes

u8 x
 

Detailed Description

Definition at line 534 of file Math.h.

Constructor & Destructor Documentation

◆ u8vec2() [1/5]

a3d::math::u8vec2::u8vec2 ( )

◆ u8vec2() [2/5]

a3d::math::u8vec2::u8vec2 ( u8  x_,
u8  y_ 
)

◆ u8vec2() [3/5]

a3d::math::u8vec2::u8vec2 ( u8  n)
explicit

◆ u8vec2() [4/5]

a3d::math::u8vec2::u8vec2 ( const u8vec3 v)
explicit

◆ u8vec2() [5/5]

a3d::math::u8vec2::u8vec2 ( const u8vec4 v)
explicit

Member Function Documentation

◆ operator[]() [1/2]

u8 & a3d::math::u8vec2::operator[] ( std::size_t  i)

◆ operator[]() [2/2]

const u8 & a3d::math::u8vec2::operator[] ( std::size_t  i) const

Member Data Documentation

◆ x

u8 a3d::math::u8vec2::x

Definition at line 535 of file Math.h.


The documentation for this struct was generated from the following file: