summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-09-21 22:10:35 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-10-26 13:05:00 +0200
commit003ac856c6e239722241c40358ea91d3c5e64c3a (patch)
tree104e0cd9bc331f049dd01d312f55c8d6086acd82 /src/core
parentaudio7 (diff)
downloadre3-003ac856c6e239722241c40358ea91d3c5e64c3a.tar
re3-003ac856c6e239722241c40358ea91d3c5e64c3a.tar.gz
re3-003ac856c6e239722241c40358ea91d3c5e64c3a.tar.bz2
re3-003ac856c6e239722241c40358ea91d3c5e64c3a.tar.lz
re3-003ac856c6e239722241c40358ea91d3c5e64c3a.tar.xz
re3-003ac856c6e239722241c40358ea91d3c5e64c3a.tar.zst
re3-003ac856c6e239722241c40358ea91d3c5e64c3a.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/common.h b/src/core/common.h
index 0a2e6768..d3d4e049 100644
--- a/src/core/common.h
+++ b/src/core/common.h
@@ -197,8 +197,8 @@ void re3_assert(const char *expr, const char *filename, unsigned int lineno, con
#define ARRAY_SIZE(array) (sizeof(array) / sizeof(array[0]))
#define BIT(num) (1<<(num))
-auto max = [](auto a, auto b) { return ((a) > (b)) ? (a) : (b); };
-auto min = [](auto a, auto b) { return ((a) < (b)) ? (a) : (b); };
+//auto max = [](auto a, auto b) { return ((a) > (b)) ? (a) : (b); };
+//auto min = [](auto a, auto b) { return ((a) < (b)) ? (a) : (b); };
#define ABS(a) (((a) < 0) ? (-(a)) : (a))
#define norm(value, min, max) (((value) < (min)) ? 0 : (((value) > (max)) ? 1 : (((value) - (min)) / ((max) - (min)))))