Back to class index
| OBB::EncloseSyntaxvoid OBB::Enclose(const float4 &point); [24 lines of code]Expands this OBB to enclose the given object. The axis directions of this OBB remain intact. This function operates in-place. This function does not necessarily result in an OBB that is an optimal fit for the previous OBB and the given point. Work in progress:Todo: in void OBB::Enclose(const float4 &point): Optimize out this comparison! Todo: in void OBB::Enclose(const float4 &point): Can we omit this? (redundant since axis[i] are orthonormal?) |