Back to class index
| OBB::ScaleSyntaxvoid OBB::Scale(const float4 ¢erPoint, float scaleFactor); [4 lines of code]Applies a uniform scale to this OBB. This function scales this OBB structure in-place, using the given center point as the origin for the scaling operation. Parametersconst float4 ¢erPointSpecifies the center of the scaling operation, in global (world) space. floatscaleFactorThe uniform scale factor to apply to each global (world) space axis. See AlsoSyntaxvoid OBB::Scale(const float4 ¢erPoint, const float4 &scaleFactor); [6 lines of code]Applies a non-uniform scale to the local axes of this OBB. This function scales this OBB structure in-place, using the given global space center point as the origin for the scaling operation. Parametersconst float4 ¢erPointSpecifies the center of the scaling operation, in global (world) space. const float4 &scaleFactorThe non-uniform scale factors to apply to each local axis of this OBB. See AlsoWork in progress:Bug: in void OBB::Scale(const float4 ¢erPoint, const float4 &scaleFactor): This scales in global axes, not local axes. |