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

#include <a3d/Math.h>

Public Member Functions

 i32vec2 ()
 
 i32vec2 (i32 x_, i32 y_)
 
 i32vec2 (i32 n)
 
 i32vec2 (const i32vec3 &v)
 
 i32vec2 (const i32vec4 &v)
 
i32 & operator[] (std::size_t i)
 
const i32 & operator[] (std::size_t i) const
 

Public Attributes

i32 x
 

Detailed Description

Definition at line 294 of file Math.h.

Constructor & Destructor Documentation

◆ i32vec2() [1/5]

a3d::math::i32vec2::i32vec2 ( )

◆ i32vec2() [2/5]

a3d::math::i32vec2::i32vec2 ( i32  x_,
i32  y_ 
)

◆ i32vec2() [3/5]

a3d::math::i32vec2::i32vec2 ( i32  n)
explicit

◆ i32vec2() [4/5]

a3d::math::i32vec2::i32vec2 ( const i32vec3 v)
explicit

◆ i32vec2() [5/5]

a3d::math::i32vec2::i32vec2 ( const i32vec4 v)
explicit

Member Function Documentation

◆ operator[]() [1/2]

i32 & a3d::math::i32vec2::operator[] ( std::size_t  i)

◆ operator[]() [2/2]

const i32 & a3d::math::i32vec2::operator[] ( std::size_t  i) const

Member Data Documentation

◆ x

i32 a3d::math::i32vec2::x

Definition at line 295 of file Math.h.


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