Back to class index
| Frustum::SetWorldMatrixSyntaxvoid Frustum::SetWorldMatrix(const float3x4 &worldTransform); [18 lines of code]Sets the pos, front and up members of this frustum from the given world transform. This function sets the 'front' parameter of this Frustum to look towards the -Z/+Z axis of the given matrix depending on the handedness set to the Frustum, and the 'up' parameter of this Frustum to point towards the +Y axis of the given matrix. Parametersconst float3x4 &worldTransformAn orthonormalized matrix with determinant of +1 (no mirroring). |