MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / staticRandomFloatRange

Function staticRandomFloatRange

source/core/StarStaticRandom.hpp:80–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78
79template <typename T, typename... TL>
80float staticRandomFloatRange(float min, float max, T const& d, TL const&... rest) {
81 return staticRandomFloat(d, rest...) * (max - min) + min;
82}
83
84// Generates values in the range [0.0, 1.0]
85template <typename T, typename... TL>

Callers 6

addLayerMethod · 0.85
frontOrbitersMethod · 0.85
WormCaveSectorMethod · 0.85
renderDebrisFieldsMethod · 0.85

Calls 1

staticRandomFloatFunction · 0.85

Tested by

no test coverage detected