Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/functions.cc')
-rw-r--r--src/math/functions.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/math/functions.cc b/src/math/functions.cc
index 7fb40be..7c95a79 100644
--- a/src/math/functions.cc
+++ b/src/math/functions.cc
@@ -12,26 +12,6 @@ namespace math
const float DELTA = 10e-10;
-float min(float a, float b)
-{
- return (a < b ? a : b);
-}
-
-float max(float a, float b)
-{
- return (a > b ? a : b);
-}
-
-int min(int a, int b)
-{
- return (a < b ? a : b);
-}
-
-int max(int a, int b)
-{
- return (a > b ? a : b);
-}
-
float randomf(const float max)
{
return ((float) rand() / (float) RAND_MAX) * max;