C4 Engine Terathon Software C4 Engine API Documentation

• Math Library

API Links
Developer Links

Matrix3D::GetRow

Defined in:  C4Matrix3D.h
Returns an Antivector3D object containing the entries of a particular row.
Prototype

Antivector3D GetRow(int32 i) const;

Parameters
i The index of the row. This must be 0, 1, or 2.
Description
The GetRow function returns an antivector containing the three entries in the row specified by the i parameter. Since matrices are stored in column-major order, this function must copy the entries into a new Antivector3D object. A reference to a column of a matrix, requiring no copy, can be retrieved using the [] operator.
See Also

Matrix3D::SetRow