Lightmetrica  0.0.1.50dbee3 (yosakoi)
 All Classes Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
TMat3< T > Struct Template Reference

#include <math.matrix.h>

Public Member Functions

LM_FORCE_INLINE TMat3 (const TMat3< T > &m)
 
LM_FORCE_INLINE TMat3 (const TMat4< T > &m)
 
LM_FORCE_INLINE TMat3 (const T &v)
 
LM_FORCE_INLINE TMat3 (const TVec3< T > &v0, const TVec3< T > &v1, const TVec3< T > &v2)
 
LM_FORCE_INLINE TMat3 (const T *v)
 
LM_FORCE_INLINE TMat3 (T v00, T v10, T v20, T v01, T v11, T v21, T v02, T v12, T v22)
 
LM_FORCE_INLINE TVec3< T > & operator[] (int i)
 
LM_FORCE_INLINE const TVec3< T > & operator[] (int i) const
 
LM_FORCE_INLINE TMat3< T > & operator*= (const TMat3< T > &m)
 
LM_FORCE_INLINE TMat3< T > & operator*= (const T &s)
 
LM_FORCE_INLINE TMat3< T > & operator/= (const T &s)
 

Static Public Member Functions

static LM_FORCE_INLINE TMat3< T > Zero ()
 
static LM_FORCE_INLINE TMat3< T > Diag (T v)
 
static LM_FORCE_INLINE TMat3< T > Identity ()
 

Public Attributes

TVec3< T > v [3]
 

Detailed Description

template<typename T>
struct TMat3< T >

3x3 matrix. Generic column major 3x3 matrix. A matrix v00 v01 v02 v10 v11 v12 v20 v21 v22 is stored sequentially as v00, v10, ..., v22.

Template Parameters
TInternal value type.

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