//////////////////////////////////////////////////////////// //~ Rand types Struct(RandState) { u64 seed; // If a state's seed == 0 upon a call to a related function, it will be initialized using platform's true rng source u64 counter; }; //////////////////////////////////////////////////////////// //~ Rand ops u64 RandU64FromState(RandState *state); f32 RandF32FromState(RandState *state, f32 range_start, f32 range_end); f64 RandF64FromState(RandState *state, f64 range_start, f64 range_end);