Loading [MathJax]/jax/output/HTML-CSS/config.js
Jolt Physics
A multi core friendly Game Physics Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ScaleHelpers.h File Reference

Go to the source code of this file.

Namespaces

namespace  ScaleHelpers
 Helper functions to get properties of a scaling vector.
 

Functions

bool ScaleHelpers::IsNotScaled (Vec3Arg inScale)
 Test if a scale is identity. More...
 
bool ScaleHelpers::IsUniformScale (Vec3Arg inScale)
 Test if a scale is uniform. More...
 
bool ScaleHelpers::IsUniformScaleXZ (Vec3Arg inScale)
 Test if a scale is uniform in XZ. More...
 
float ScaleHelpers::ScaleConvexRadius (float inConvexRadius, Vec3Arg inScale)
 Scale the convex radius of an object. More...
 
bool ScaleHelpers::IsInsideOut (Vec3Arg inScale)
 Test if a scale flips an object inside out (which requires flipping all normals and polygon windings) More...
 
bool ScaleHelpers::IsZeroScale (Vec3Arg inScale)
 Test if any of the components of the scale have a value below cMinScale. More...
 
Vec3 ScaleHelpers::MakeNonZeroScale (Vec3Arg inScale)
 Ensure that the scale for each component is at least cMinScale. More...
 
Vec3 ScaleHelpers::MakeUniformScale (Vec3Arg inScale)
 Get the average scale if inScale, used to make the scale uniform when a shape doesn't support non-uniform scale. More...
 
Vec3 ScaleHelpers::MakeUniformScaleXZ (Vec3Arg inScale)
 Average the scale in XZ, used to make the scale uniform when a shape doesn't support non-uniform scale in the XZ plane. More...
 
bool ScaleHelpers::CanScaleBeRotated (QuatArg inRotation, Vec3Arg inScale)
 
Vec3 ScaleHelpers::RotateScale (QuatArg inRotation, Vec3Arg inScale)