MCPcopy Create free account
hub / github.com/demoth/jake2 / random

Method random

qcommon/src/main/java/jake2/qcommon/util/Lib.java:68–70  ·  view source on GitHub ↗

Like in libc.

()

Source from the content-addressed store, hash-verified

66
67 /** Like in libc. */
68 public static float random() {
69 return Globals.rnd.nextFloat();
70 }
71
72 public static float atof(String in) {
73 if (in == null || in.length() == 0)

Callers 15

thinkMethod · 0.95
turret_breach_fireMethod · 0.95
SP_misc_gib_armMethod · 0.95
SP_misc_gib_legMethod · 0.95
SP_misc_gib_headMethod · 0.95
VelocityForDamageMethod · 0.95
ThrowGibMethod · 0.95
ThrowHeadMethod · 0.95
ThrowDebrisMethod · 0.95
thinkMethod · 0.95
touchMethod · 0.95
check_dodgeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected