InstanceMatrix struct
Row-major matrix.
Contents
Constructors, destructors, conversion operators
- InstanceMatrix() noexcept
- Construct identity matrix.
Public functions
- auto SetTranslation(float x, float y, float z) -> InstanceMatrix& noexcept
- Sets the translation part.
- auto SetRotation(const float* pMatrix3x3) -> InstanceMatrix& noexcept
- Sets the rotation part.
Public variables
- float data
- rotation translation ([0,0] [0,1] [0,2]) ([0,3]) ([1,0] [1,1] [1,2]) ([1,3]) ([2,0] [2,1] [2,2]) ([2,3])