Diligent Engine  v.2.4.g
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Diligent::Matrix3x3< T > Struct Template Reference

#include <BasicMath.hpp>

Public Member Functions

 Matrix3x3 (T value)
 
 Matrix3x3 ()
 
 Matrix3x3 (T i11, T i12, T i13, T i21, T i22, T i23, T i31, T i32, T i33)
 
bool operator== (const Matrix3x3 &r) const
 
bool operator!= (const Matrix3x3 &r) const
 
T * operator[] (size_t row)
 
const T * operator[] (size_t row) const
 
T * Data ()
 
const T * Data () const
 
Matrix3x3operator*= (T s)
 
Matrix3x3operator*= (const Matrix3x3 &right)
 
Matrix3x3 Transpose () const
 
Determinant () const
 

Static Public Member Functions

template<typename Y >
static Matrix3x3 MakeMatrix (const Y &vals)
 
static Matrix3x3 Identity ()
 
static Matrix3x3 Scale (T x, T y, T z)
 
static Matrix3x3 RotationX (T angleInRadians)
 
static Matrix3x3 RotationY (T angleInRadians)
 
static Matrix3x3 RotationZ (T angleInRadians)
 
static Matrix3x3 Mul (const Matrix3x3 &m1, const Matrix3x3 &m2)
 

Public Attributes

union {
   struct {
      T   _11
 
      T   _12
 
      T   _13
 
      T   _21
 
      T   _22
 
      T   _23
 
      T   _31
 
      T   _32
 
      T   _33
 
   } 
 
   struct {
      T   m00
 
      T   m01
 
      T   m02
 
      T   m10
 
      T   m11
 
      T   m12
 
      T   m20
 
      T   m21
 
      T   m22
 
   } 
 
   T   m [3][3]
 
}; 
 

Constructor & Destructor Documentation

◆ Matrix3x3() [1/3]

template<class T >
Diligent::Matrix3x3< T >::Matrix3x3 ( value)
inlineexplicit

◆ Matrix3x3() [2/3]

template<class T >
Diligent::Matrix3x3< T >::Matrix3x3 ( )
inline

◆ Matrix3x3() [3/3]

template<class T >
Diligent::Matrix3x3< T >::Matrix3x3 ( i11,
i12,
i13,
i21,
i22,
i23,
i31,
i32,
i33 
)
inline

Member Function Documentation

◆ Data() [1/2]

template<class T >
T* Diligent::Matrix3x3< T >::Data ( )
inline

◆ Data() [2/2]

template<class T >
const T* Diligent::Matrix3x3< T >::Data ( ) const
inline

◆ Determinant()

template<class T >
T Diligent::Matrix3x3< T >::Determinant ( ) const
inline

◆ Identity()

template<class T >
static Matrix3x3 Diligent::Matrix3x3< T >::Identity ( )
inlinestatic

◆ MakeMatrix()

template<class T >
template<typename Y >
static Matrix3x3 Diligent::Matrix3x3< T >::MakeMatrix ( const Y &  vals)
inlinestatic

◆ Mul()

template<class T >
static Matrix3x3 Diligent::Matrix3x3< T >::Mul ( const Matrix3x3< T > &  m1,
const Matrix3x3< T > &  m2 
)
inlinestatic

◆ operator!=()

template<class T >
bool Diligent::Matrix3x3< T >::operator!= ( const Matrix3x3< T > &  r) const
inline

◆ operator*=() [1/2]

template<class T >
Matrix3x3& Diligent::Matrix3x3< T >::operator*= ( const Matrix3x3< T > &  right)
inline

◆ operator*=() [2/2]

template<class T >
Matrix3x3& Diligent::Matrix3x3< T >::operator*= ( s)
inline

◆ operator==()

template<class T >
bool Diligent::Matrix3x3< T >::operator== ( const Matrix3x3< T > &  r) const
inline

◆ operator[]() [1/2]

template<class T >
T* Diligent::Matrix3x3< T >::operator[] ( size_t  row)
inline

◆ operator[]() [2/2]

template<class T >
const T* Diligent::Matrix3x3< T >::operator[] ( size_t  row) const
inline

◆ RotationX()

template<class T >
static Matrix3x3 Diligent::Matrix3x3< T >::RotationX ( angleInRadians)
inlinestatic

◆ RotationY()

template<class T >
static Matrix3x3 Diligent::Matrix3x3< T >::RotationY ( angleInRadians)
inlinestatic

◆ RotationZ()

template<class T >
static Matrix3x3 Diligent::Matrix3x3< T >::RotationZ ( angleInRadians)
inlinestatic

◆ Scale()

template<class T >
static Matrix3x3 Diligent::Matrix3x3< T >::Scale ( x,
y,
z 
)
inlinestatic

◆ Transpose()

template<class T >
Matrix3x3 Diligent::Matrix3x3< T >::Transpose ( ) const
inline

Member Data Documentation

◆ @29

union { ... }

◆ _11

template<class T >
T Diligent::Matrix3x3< T >::_11

◆ _12

template<class T >
T Diligent::Matrix3x3< T >::_12

◆ _13

template<class T >
T Diligent::Matrix3x3< T >::_13

◆ _21

template<class T >
T Diligent::Matrix3x3< T >::_21

◆ _22

template<class T >
T Diligent::Matrix3x3< T >::_22

◆ _23

template<class T >
T Diligent::Matrix3x3< T >::_23

◆ _31

template<class T >
T Diligent::Matrix3x3< T >::_31

◆ _32

template<class T >
T Diligent::Matrix3x3< T >::_32

◆ _33

template<class T >
T Diligent::Matrix3x3< T >::_33

◆ m

template<class T >
T Diligent::Matrix3x3< T >::m[3][3]

◆ m00

template<class T >
T Diligent::Matrix3x3< T >::m00

◆ m01

template<class T >
T Diligent::Matrix3x3< T >::m01

◆ m02

template<class T >
T Diligent::Matrix3x3< T >::m02

◆ m10

template<class T >
T Diligent::Matrix3x3< T >::m10

◆ m11

template<class T >
T Diligent::Matrix3x3< T >::m11

◆ m12

template<class T >
T Diligent::Matrix3x3< T >::m12

◆ m20

template<class T >
T Diligent::Matrix3x3< T >::m20

◆ m21

template<class T >
T Diligent::Matrix3x3< T >::m21

◆ m22

template<class T >
T Diligent::Matrix3x3< T >::m22

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