C4 Engine
C4 Engine API Documentation

Matrix4D::Set

Defined in:  TSMatrix4D.h
Sets all 16 entries of a matrix.
Prototype

Set(float n00, float n01, float n02, float n03, float n10, float n11, float n12, float n13,

float n20, float n21, float n22, float n23, float n30, float n31, float n32, float n33);

Matrix4D& Set(const Vector4D& a, const Vector4D& b, const Vector4D& c, const Vector4D& d);

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.
d The new values of the entries residing in fourth column.
Description
The Set function sets all 16 entries of a matrix, either by specifying each entry individually or by specifying each of the four columns as 4D vectors.

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

Matrix4D::SetIdentity