C4 Engine Terathon Software C4 Engine API Documentation

• Math Library

API Links
Developer Links

Matrix4D::SetRow

Defined in:  C4Matrix4D.h
Sets the entries of a particular row to the values of a Vector4D object.
Prototype

Matrix4D& SetRow(long i, const Vector4D& row);

Parameters
i The index of the row. This must be 0, 1, 2, or 3.
row A 4D vector containing the new values to be stored in the row.
Description
The SetRow function sets the four entries in the row specified by the i parameter to the values contained in the 4D vector specified by the row parameter.
See Also

Matrix4D::GetRow