Transform4D::SetTranslation
Defined in: C4Matrix4D.h
Sets the fourth column of a matrix.
Prototype
Transform4D& SetTranslation(const Point3D& p);
Parameters
p |
The 3D point whose entries are copied into the fourth column.
|
Description
The SetTranslation function sets the fourth column of a matrix to the position given by the p parameter. The first three columns and the fourth row of the matrix are not modified.
The return value is a reference to the matrix object.
|