Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <mail@jlucke.com>2019-09-02 10:59:03 +0300
committerJacques Lucke <mail@jlucke.com>2019-09-02 10:59:03 +0300
commit5f31282c4698b009552ed0bec02e39ecca13b263 (patch)
tree265865ca73536dc1b9f6d0964e9bd4c6f9b76dad /source/blender/blenlib/intern/math_base_inline.c
parentacd7915371a29b2f8d22df7bbf1cb3a353e7e222 (diff)
parenta6816bf5db0cddd98d55c21a12a545a86bb0c004 (diff)
Merge branch 'master' into functions
Diffstat (limited to 'source/blender/blenlib/intern/math_base_inline.c')
-rw-r--r--source/blender/blenlib/intern/math_base_inline.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/math_base_inline.c b/source/blender/blenlib/intern/math_base_inline.c
index a14e2413865..66ce8a447fc 100644
--- a/source/blender/blenlib/intern/math_base_inline.c
+++ b/source/blender/blenlib/intern/math_base_inline.c
@@ -374,6 +374,15 @@ MINLINE float max_ff(float a, float b)
return (a > b) ? a : b;
}
+MINLINE double min_dd(double a, double b)
+{
+ return (a < b) ? a : b;
+}
+MINLINE double max_dd(double a, double b)
+{
+ return (a > b) ? a : b;
+}
+
MINLINE int min_ii(int a, int b)
{
return (a < b) ? a : b;