DMatrix3d

Fields

double

m

Detailed Description

struct DMatrix3d

Represents a double precision 3d linear transformation.

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

Public Functions

inline bool operator==(DMatrix3d const &that) const
inline bool operator!=(DMatrix3d const &that) const
inline void SetIdentity()
inline void SetTranslation(double x, double y, double z)
inline void ApplyScale(double x, double y, double z)
inline void Translate(double x, double y, double z)

Public Members

double m[12]

Public Static Functions

static inline DMatrix3d fromMatrix3d(Matrix3d const &matrix)