// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved. #pragma once #include namespace Random { /// /// Generates a pseudo-random number from normalized range [0;1]. /// /// The random number. inline float Rand() { return (float)rand() / (float)RAND_MAX; } }