diff options
Diffstat (limited to 'frontend/shared_cpp/mathlib.cpp')
-rw-r--r-- | frontend/shared_cpp/mathlib.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/frontend/shared_cpp/mathlib.cpp b/frontend/shared_cpp/mathlib.cpp deleted file mode 100644 index 8222d00..0000000 --- a/frontend/shared_cpp/mathlib.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include "mathlib.h" -#include <cstdlib> - -Vector2 getRandomNormalVector2() { - Vector2 retval = { - static_cast<float>(rand()) / static_cast<float>(RAND_MAX), - static_cast<float>(rand()) / static_cast<float>(RAND_MAX) - }; - - return retval.normalize(); -} |