Back to class index
| OBB::CenterPointSyntaxfloat3 OBB::CenterPoint() const; [4 lines of code]Returns the center point of this OBB in global (world) space of this OBB. Note The center point of this OBB in local space is always (r.x, r.y, r.z). Performancefloat3 OBB::CenterPoint() const4.105nsecs/call ≈ 243.59M calls/second ≈ 4.06M calls/frame (@ 60fps). 4.105nsecs/call ≈ 243.59M calls/second ≈ 4.06M calls/frame (@ 60fps). See AlsoSyntaxfloat3 OBB::Centroid() const; [1 line of code]Returns the center of mass of this OBB. Note This function is identical to CenterPoint(), and is provided to ease template function implementations. Performance4.105nsecs/call ≈ 243.59M calls/second ≈ 4.06M calls/frame (@ 60fps). See AlsoLeave a Comment |