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

#include <a3d/Math.h>

Public Member Functions

 f32vec2 ()
 
 f32vec2 (f32 x_, f32 y_)
 
 f32vec2 (f32 n)
 
 f32vec2 (const f32vec3 &v)
 
 f32vec2 (const f32vec4 &v)
 
f32 & operator[] (std::size_t i)
 
const f32 & operator[] (std::size_t i) const
 

Detailed Description

Definition at line 106 of file Math.h.

Constructor & Destructor Documentation

◆ f32vec2() [1/5]

a3d::math::f32vec2::f32vec2 ( )

◆ f32vec2() [2/5]

a3d::math::f32vec2::f32vec2 ( f32  x_,
f32  y_ 
)

◆ f32vec2() [3/5]

a3d::math::f32vec2::f32vec2 ( f32  n)
explicit

◆ f32vec2() [4/5]

a3d::math::f32vec2::f32vec2 ( const f32vec3 v)
explicit

◆ f32vec2() [5/5]

a3d::math::f32vec2::f32vec2 ( const f32vec4 v)
explicit

Member Function Documentation

◆ operator[]() [1/2]

f32 & a3d::math::f32vec2::operator[] ( std::size_t  i)

◆ operator[]() [2/2]

const f32 & a3d::math::f32vec2::operator[] ( std::size_t  i) const

Member Data Documentation

◆ s

f32 a3d::math::f32vec2::s

Definition at line 113 of file Math.h.

◆ x

f32 a3d::math::f32vec2::x

Definition at line 109 of file Math.h.


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