Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
G3D::Vector4uint8 Class Reference

Public Member Functions

 Vector4uint8 (const Vector4 &source)
 Clamps to 255 when converting, it is assumed you've already multiplied by 255. More...
 
 Vector4uint8 ()
 
G3D::uint8operator[] (int i)
 
const G3D::uint8operator[] (int i) const
 

Public Attributes

G3D::uint8 w
 
G3D::uint8 x
 
G3D::uint8 y
 
G3D::uint8 z
 

Constructor & Destructor Documentation

◆ Vector4uint8() [1/2]

G3D::Vector4uint8::Vector4uint8 ( const Vector4 source)
explicit

Clamps to 255 when converting, it is assumed you've already multiplied by 255.

◆ Vector4uint8() [2/2]

G3D::Vector4uint8::Vector4uint8 ( )
inline

Member Function Documentation

◆ operator[]() [1/2]

G3D::uint8& G3D::Vector4uint8::operator[] ( int  i)
inline

◆ operator[]() [2/2]

const G3D::uint8& G3D::Vector4uint8::operator[] ( int  i) const
inline

Member Data Documentation

◆ w

G3D::uint8 G3D::Vector4uint8::w

◆ x

G3D::uint8 G3D::Vector4uint8::x

◆ y

G3D::uint8 G3D::Vector4uint8::y

◆ z

G3D::uint8 G3D::Vector4uint8::z

documentation generated on Wed Nov 24 2021 08:02:02 using doxygen 1.8.15