Back to class index
| Frustum::SetFrameSyntaxvoid Frustum::SetFrame(const float4 &pos, const float4 &front, const float4 &up); [7 lines of code]Specifies the full coordinate space of this Frustum in one call. Note Calling this function recomputes the cached world matrix of this Frustum. As a micro-optimization, prefer this function over the individual SetPos/SetFront/SetUp functions if you need to do a batch of two or more changes, to avoid redundant recomputation of the world matrix. See Also |