NVIDIAGameWorks / PhysX-3.4

NVIDIA PhysX SDK 3.4
https://www.nvidia.com/
2.35k stars 273 forks source link

Random range invalid in samples #97

Closed blacknepia closed 5 years ago

blacknepia commented 5 years ago

Samples/PxToolkit/include/PxTkRandom.h

PxF32 randLegacy(PxF32 a, PxF32 b)

return a PxF32 "a to 2b - a" rather than "a to b"

AlesBorovicka commented 5 years ago

Thanks for the report, we will remove this in next release.