C4 Engine
C4 Engine API Documentation

Matrix3D::Set

Defined in:  TSMatrix3D.h
Sets all nine entries of a matrix.
Prototype

Matrix3D& Set(float n00, float n01, float n02, float n10, float n11, float n12, float n20, float n21, float n22);

Matrix3D& Set(const Vector3D& a, const Vector3D& b, const Vector3D& c);

Parameters
nij The new value of the entry residing in row i and column j.
a The new values of the entries residing in first column.
b The new values of the entries residing in second column.
c The new values of the entries residing in third column.
Description
The Set function sets all nine entries of a matrix, either by specifying each entry individually or by specifying each of the three columns as 3D vectors.

The return value is a reference to the matrix object.
See Also

Matrix3D::SetIdentity

Matrix3D::MakeRotationX

Matrix3D::MakeRotationY

Matrix3D::MakeRotationZ

Matrix3D::MakeRotation