MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / myrand

Function myrand

Descent3/TelCom.cpp:3215–3215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3213}
3214
3215float myrand(float max) { return (max * (((float)ps_rand()) / ((float)D3_RAND_MAX))); }
3216
3217/////////////////////////////////////////////////////////////////////////////
3218// These are the functions used for serialization, yes they are out of place,

Callers 5

TelcomRenderScreenFunction · 0.85
TelcomDrawScreenFunction · 0.85
TelcomRenderOverlaysFunction · 0.85
TelcomDisplayStaticFunction · 0.85

Calls 1

ps_randFunction · 0.85

Tested by

no test coverage detected