mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
add difFloatPi range validator
player: apply to player min/max angle allow fallingspeedthreshold to go negative splashdata: velocity, hieght, acceleration and startradius can all be negative wrap material animation range from -1 to 1
This commit is contained in:
parent
68f44c1596
commit
2d974cebf5
6 changed files with 12 additions and 10 deletions
|
|
@ -101,6 +101,7 @@ namespace CommonValidators
|
|||
{
|
||||
FRangeValidator F32Range(F32_MIN_EX, F32_MAX);
|
||||
FRangeValidator DirFloat(-1.0f, 1.0f);
|
||||
FRangeValidator DirFloatPi(-M_PI_F, M_PI_F);
|
||||
FRangeValidator NegDefaultF32(-1.0f, F32_MAX);
|
||||
FRangeValidator PositiveFloat(0.0f, F32_MAX);
|
||||
FRangeValidator PositiveNonZeroFloat((F32)POINT_EPSILON, F32_MAX);
|
||||
|
|
|
|||
|
|
@ -116,6 +116,7 @@ namespace CommonValidators
|
|||
// Floats
|
||||
extern FRangeValidator F32Range;
|
||||
extern FRangeValidator DirFloat;
|
||||
extern FRangeValidator DirFloatPi;
|
||||
extern FRangeValidator NegDefaultF32;
|
||||
extern FRangeValidator PositiveFloat;
|
||||
extern FRangeValidator PositiveNonZeroFloat;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue