| 7 | |
| 8 | namespace Utils { |
| 9 | float RandomFloat(float min, float max) { |
| 10 | static std::mt19937 mt(std::random_device{}()); |
| 11 | std::uniform_real_distribution<double> fdis(min, max); |
| 12 | |
| 13 | return fdis(mt); |
| 14 | } |
| 15 | |
| 16 | glm::vec3 bulletToGlm(const btVector3 &v) { return glm::vec3(v.getX(), v.getY(), v.getZ()); } |
| 17 |
no outgoing calls
no test coverage detected