class Boleite::NoiseRandom
- Boleite::NoiseRandom
- Boleite::Random
- Reference
- Object
Overview
Noise function based on Squirrel Eiserloh SquirrelNoise function from GDC17
Extended Modules
Defined in:
boleite/random.crboleite/serializers/random.cr
Constant Summary
-
NOISE1 =
3039394381_i64
-
These bit-noise been selected for having interesting/distinctive bits
-
NOISE2 =
1759714724
-
NOISE3 =
458671337
Constructors
Instance Method Summary
Instance methods inherited from class Boleite::Random
contract_ensures_get_int(return_value, min, max)
contract_ensures_get_int,
contract_post_get_int(check_depth, return_value, min, max)
contract_post_get_int,
contract_pre_get_int(check_depth, min, max)
contract_pre_get_int,
contract_requires_get_int(min, max)
contract_requires_get_int,
get_int(min, max) : UInt32get_int : UInt32 get_int, get_zero_to_one : Float64 get_zero_to_one, rand(max : Int) : Int rand, seed seed, test_invariant_contracts(method = "") test_invariant_contracts