Function olc_pixel_game_engine::c_srand
source · pub fn c_srand(seed: u32)
Expand description
Sets seed for C++ rand function, equivalent of srand(seed)
.
See http://www.cplusplus.com/reference/cstdlib/srand for more information.
pub fn c_srand(seed: u32)
Sets seed for C++ rand function, equivalent of srand(seed)
.
See http://www.cplusplus.com/reference/cstdlib/srand for more information.