Back to class index
| AABB::ScaleSyntaxvoid AABB::Scale(const float4 ¢erPoint, float scaleFactor); [5 lines of code]Applies a uniform scale to this AABB. This function scales this AABB 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 world space. floatscaleFactorThe uniform scale factor to apply to each world space axis. See AlsoSyntaxvoid AABB::Scale(const float4 ¢erPoint, const float4 &scaleFactor); [6 lines of code]Applies a non-uniform scale to this AABB. This function scales this AABB 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 world space. const float4 &scaleFactorThe non-uniform scale factors to apply to each world space axis. See AlsoWork in progress:Todo: in void AABB::Scale(const float4 ¢erPoint, const float4 &scaleFactor): mat Todo: in void AABB::Scale(const float4 ¢erPoint, const float4 &scaleFactor): mat Todo: in void AABB::Scale(const float4 ¢erPoint, const float4 &scaleFactor): mat |