Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
350
static inline btScalar UnitRand()
351
{
352
return (rand() / (btScalar)RAND_MAX);
353
}
354
355
static inline btScalar SignedUnitRand()
356
{
Callers
3
benchmark
Method · 0.85
benchmark
Method · 0.85
SignedUnitRand
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected