MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / computeSign

Function computeSign

physx/source/physxvehicle/src/PxVehicleUpdate.cpp:1223–1226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1221/////////////////////////////////////////////////////////////////////////////////////////
1222
1223PX_FORCE_INLINE PxF32 computeSign(const PxF32 f)
1224{
1225 return physx::intrinsics::fsel(f, physx::intrinsics::fsel(-f, 0.0f, 1.0f), -1.0f);
1226}
1227
1228
1229/////////////////////////////////////////////////////////////////////////////////////////

Callers 10

splitTorqueFunction · 0.85
computeDiffTorqueRatiosFunction · 0.85
computeTankDiffFunction · 0.85
computeTankBrakeTorquesFunction · 0.85
intersectCylinderPlaneFunction · 0.85
processSuspTireWheelsFunction · 0.85
updateDrive4WMethod · 0.85
updateTankMethod · 0.85

Calls 1

fselFunction · 0.50

Tested by

no test coverage detected