MCPcopy Create free account
hub / github.com/LabSound/LabSound / frnd

Function frnd

src/extended/SfxrNode.cpp:201–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199#define PI 3.14159265f
200
201inline float frnd(float range)
202{
203 return (float) rnd(10000) / 10000 * range;
204}
205
206inline float rndr(float from, float to)
207{

Callers 12

rndrFunction · 0.85
ResetSampleMethod · 0.85
SynthSampleMethod · 0.85
coinMethod · 0.85
laserMethod · 0.85
explosionMethod · 0.85
powerUpMethod · 0.85
hitMethod · 0.85
jumpMethod · 0.85
selectMethod · 0.85
mutateMethod · 0.85
randomizeMethod · 0.85

Calls 1

rndFunction · 0.85

Tested by

no test coverage detected