Back to class index
| OBB::TransformSyntaxvoid OBB::Transform(const float3x3 &transform); [5 lines of code]void OBB::Transform(const float3x4 &transform); [5 lines of code] void OBB::Transform(const float4x4 &transform); [5 lines of code] void OBB::Transform(const Quat &transform); [4 lines of code] Applies a transformation to this OBB. Parametersconst float3x3 &transformThe transformation to apply to this OBB. This transformation must be affine, and must contain an orthogonal set of column vectors (may not contain shear or projection). The transformation can only contain uniform scale, and may not contain mirroring. Performancevoid OBB::Transform(const float3x3 &transform)0.094μsecs/call ≈ 10.59M calls/second ≈ 176.52k calls/frame (@ 60fps). 0.107μsecs/call ≈ 9.37M calls/second ≈ 156.15k calls/frame (@ 60fps). 0.115μsecs/call ≈ 8.7M calls/second ≈ 144.99k calls/frame (@ 60fps). 0.107μsecs/call ≈ 9.37M calls/second ≈ 156.15k calls/frame (@ 60fps). See AlsoLeave a Comment |