bool sgCObject::ApplyTempMatrix()
Description:
Applies the affine transformations matrix to the object.
Arguments:
No arguments.
Returned value:
Applies to the object the affine transformations matrix created using the InitTempMatrix function.
Example:
sgBox* box = sgCreateBox(10.0, 20.0, 30.0);
SG_VECTOR trVec = {2.0, 0.0, -5,0};
box->InitTempMatrix()->Translate(trVec);
box->ApplyTempMatrix();
box->DestroyTempMatrix();
See also:
sgCMatrix sgCObject::InitTempMatrix sgCObject::DestroyTempMatrix sgCObject::GetTempMatrix sgCObject::ApplyTempMatrix