Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ random_float
Function
random_float
src/base/math.h:61–64 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
}
60
61
inline float random_float()
62
{
63
return rand() / (float)(RAND_MAX);
64
}
65
66
inline float random_float(float min, float max)
67
{
Callers
13
RandomizeSkin
Method · 0.85
PowerupShine
Method · 0.85
FreezingFlakes
Method · 0.85
SparkleTrail
Method · 0.85
SmokeTrail
Method · 0.85
SkidTrail
Method · 0.85
BulletTrail
Method · 0.85
PlayerSpawn
Method · 0.85
PlayerDeath
Method · 0.85
Confetti
Method · 0.85
Explosion
Method · 0.85
Update
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected