Arty
Public Member Functions | Public Attributes | List of all members
float3 Struct Reference
Inheritance diagram for float3:
rgb

Public Member Functions

 float3 (float x)
 
 float3 (const float4 &xyz)
 
 float3 (float x, float y, float z)
 
 float3 (const float2 &xy, float z)
 
 float3 (float x, const float2 &yz)
 
bool operator== (const float3 &other) const
 
bool operator!= (const float3 &other) const
 
float operator[] (size_t i) const
 
float & operator[] (size_t i)
 
float3operator+= (const float3 &a)
 
float3operator-= (const float3 &a)
 
float3operator*= (float a)
 
float3operator*= (const float3 &a)
 

Public Attributes

union {
   struct {
      float   x
 
      float   y
 
      float   z
 
   } 
 
   float   values [3]
 
}; 
 

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