MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / UnitRand

Function UnitRand

examples/SoftDemo/SoftDemo.cpp:350–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348//
349
350static inline btScalar UnitRand()
351{
352 return (rand() / (btScalar)RAND_MAX);
353}
354
355static inline btScalar SignedUnitRand()
356{

Callers 3

benchmarkMethod · 0.85
benchmarkMethod · 0.85
SignedUnitRandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected