aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/wirish_math.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/wirish_math.cpp')
-rw-r--r--wirish/wirish_math.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/wirish/wirish_math.cpp b/wirish/wirish_math.cpp
index 12a21c3..5aa6510 100644
--- a/wirish/wirish_math.cpp
+++ b/wirish/wirish_math.cpp
@@ -47,8 +47,3 @@ long random(long howsmall, long howbig) {
return random(diff) + howsmall;
}
-long map(long x, long in_min, long in_max, long out_min, long out_max) {
- return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
-}
-
-