Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | Static Public Member Functions | List of all members
smlt::Mat3 Struct Reference

Public Member Functions

 Mat3 (const float *data)
 
 Mat3 (const Mat4 &rhs)
 
 Mat3 (const Quaternion &q)
 
 Mat3 (const Vec3 &c0, const Vec3 &c1, const Vec3 &c2)
 
const float & operator[] (const uint32_t index) const
 
const float & operator[] (const int index) const
 
float & operator[] (const uint32_t index)
 
float & operator[] (const int index)
 
Vec3 transform_vector (const Vec3 &v) const
 
const float * data () const
 
void inverse ()
 
Mat3 inversed () const
 
void transpose ()
 
Mat3 transposed () const
 
float determinant () const
 
Mat3 adjugate () const
 
Mat3operator*= (const float rhs)
 
Mat3 operator* (const float rhs) const
 

Static Public Member Functions

static Mat3 from_rotation_x (const Degrees &angle)
 
static Mat3 from_rotation_y (const Degrees &angle)
 
static Mat3 from_rotation_z (const Degrees &angle)
 

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