#include <sc_store.h>

Public Member Functions

bool operator!= (Matrix3d const &that) const
 
bool operator== (Matrix3d const &that) const
 
void SetIdentity ()
 
void SetTranslation (float x, float y, float z)
 
void Translate (float x, float y, float z)
 

Public Attributes

float m [12]
 

Detailed Description

Represents a single precision 3d linear transformation.

An identity matrix is specified as follows: float const identity[] = { 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, };

Member Function Documentation

◆ operator!=()

bool SC::Store::Matrix3d::operator!= ( Matrix3d const &  that) const

◆ operator==()

bool SC::Store::Matrix3d::operator== ( Matrix3d const &  that) const

◆ SetIdentity()

void SC::Store::Matrix3d::SetIdentity ( )

◆ SetTranslation()

void SC::Store::Matrix3d::SetTranslation ( float  x,
float  y,
float  z 
)

◆ Translate()

void SC::Store::Matrix3d::Translate ( float  x,
float  y,
float  z 
)

Member Data Documentation

◆ m

float SC::Store::Matrix3d::m[12]