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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-05-16 01:48:02 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-05-17 22:39:16 +0300
commit21fddf7d1c0653881773e44cea6e9d0804a08b31 (patch)
treecf3179fce0393c9cc2577d546db790d5f7705694 /source/blender/blenlib/intern/math_vector_inline.c
parent2b73402547a7c765f302a0d4218f96b5a710e96f (diff)
C99/C++11: replace deprecated finite() by isfinite().
Diffstat (limited to 'source/blender/blenlib/intern/math_vector_inline.c')
-rw-r--r--source/blender/blenlib/intern/math_vector_inline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/math_vector_inline.c b/source/blender/blenlib/intern/math_vector_inline.c
index 17e2da3f1cb..76f2af34723 100644
--- a/source/blender/blenlib/intern/math_vector_inline.c
+++ b/source/blender/blenlib/intern/math_vector_inline.c
@@ -954,17 +954,17 @@ MINLINE bool is_zero_v4(const float v[4])
MINLINE bool is_finite_v2(const float v[2])
{
- return (finite(v[0]) && finite(v[1]));
+ return (isfinite(v[0]) && isfinite(v[1]));
}
MINLINE bool is_finite_v3(const float v[3])
{
- return (finite(v[0]) && finite(v[1]) && finite(v[2]));
+ return (isfinite(v[0]) && isfinite(v[1]) && isfinite(v[2]));
}
MINLINE bool is_finite_v4(const float v[4])
{
- return (finite(v[0]) && finite(v[1]) && finite(v[2]) && finite(v[3]));
+ return (isfinite(v[0]) && isfinite(v[1]) && isfinite(v[2]) && isfinite(v[3]));
}
MINLINE bool is_one_v3(const float v[3])