Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ frand
Function
frand
tests/cpp-tests/Source/PhysicsTest/PhysicsTest.cpp:183–186 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
181
}
182
183
float frand()
184
{
185
return rand() / RAND_MAX;
186
}
187
} // namespace
188
189
Sprite* PhysicsDemo::makeBall(Vec2 point, float radius, PhysicsMaterial material)
Callers
3
onEnter
Method · 0.70
findRandomPoint
Method · 0.50
findRandomPointAroundCircle
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected