diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-18 00:16:54 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-18 00:40:25 +0300 |
commit | 2630207adae47181a7412786b9e18b428999228b (patch) | |
tree | e7c5c6f7c5fe6321aab4a43b33820b9582c4422f /source/blender/blenlib/intern/math_vector_inline.c | |
parent | 21fddf7d1c0653881773e44cea6e9d0804a08b31 (diff) |
Fix GCC/Linux build error after finite/isfinite changes.
Diffstat (limited to 'source/blender/blenlib/intern/math_vector_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_vector_inline.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/source/blender/blenlib/intern/math_vector_inline.c b/source/blender/blenlib/intern/math_vector_inline.c index 76f2af34723..b43fb6e986c 100644 --- a/source/blender/blenlib/intern/math_vector_inline.c +++ b/source/blender/blenlib/intern/math_vector_inline.c @@ -952,21 +952,6 @@ MINLINE bool is_zero_v4(const float v[4]) return (v[0] == 0.0f && v[1] == 0.0f && v[2] == 0.0f && v[3] == 0.0f); } -MINLINE bool is_finite_v2(const float v[2]) -{ - return (isfinite(v[0]) && isfinite(v[1])); -} - -MINLINE bool is_finite_v3(const float v[3]) -{ - return (isfinite(v[0]) && isfinite(v[1]) && isfinite(v[2])); -} - -MINLINE bool is_finite_v4(const float v[4]) -{ - return (isfinite(v[0]) && isfinite(v[1]) && isfinite(v[2]) && isfinite(v[3])); -} - MINLINE bool is_one_v3(const float v[3]) { return (v[0] == 1.0f && v[1] == 1.0f && v[2] == 1.0f); |