Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-09-20 16:30:45 +0000
committerStijn Buys <ingar@osirion.org>2010-09-20 16:30:45 +0000
commite40f70a3af1142e6c0c89c6ea2ee47b996495661 (patch)
treeba70a909b5066ad0e07e2f4eb8bc98684e4598e6 /src/math/functions.cc
parente8f7c4a06fce9e41fb23ffc42a566501a78210cb (diff)
corrected trading inconsistencies, improved trade window, initial slider widget
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;