Nebula
Loading...
Searching...
No Matches
Im3d::Vec4 Struct Reference

#include <im3d.h>

Public Member Functions

 Vec4 ()
 
 Vec4 (float _xyzw)
 
 Vec4 (float _x, float _y, float _z, float _w)
 
 Vec4 (const Vec3 &_xyz, float _w)
 
 Vec4 (Color _rgba)
 
 operator float * ()
 
 operator const float * () const
 

Public Attributes

float x
 
float y
 
float z
 
float w
 

Constructor & Destructor Documentation

◆ Vec4() [1/5]

Im3d::Vec4::Vec4 ( )
inline

◆ Vec4() [2/5]

Im3d::Vec4::Vec4 ( float _xyzw)
inline

◆ Vec4() [3/5]

Im3d::Vec4::Vec4 ( float _x,
float _y,
float _z,
float _w )
inline

◆ Vec4() [4/5]

Im3d::Vec4::Vec4 ( const Vec3 & _xyz,
float _w )
inline

◆ Vec4() [5/5]

Vec4::Vec4 ( Color _rgba)

Member Function Documentation

◆ operator const float *()

Im3d::Vec4::operator const float * ( ) const
inline

◆ operator float *()

Im3d::Vec4::operator float * ( )
inline

Member Data Documentation

◆ w

float Im3d::Vec4::w

◆ x

float Im3d::Vec4::x

◆ y

float Im3d::Vec4::y

◆ z

float Im3d::Vec4::z

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