diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-16 20:49:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-16 20:49:37 +0400 |
commit | 67f8e3a3a7af4146b9bb7ae40f1bdc8dabc2b48f (patch) | |
tree | e70b92076373c720df61107bcd8e134d1006c76a /source/blender/blenlib/intern/math_base_inline.c | |
parent | e889fa467816950c828f7696be2433c472a7d4ad (diff) |
inline function for "Newell's Method" used for normal calc.
Diffstat (limited to 'source/blender/blenlib/intern/math_base_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_base_inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_base_inline.c b/source/blender/blenlib/intern/math_base_inline.c index 58c882e894e..b2d5392c596 100644 --- a/source/blender/blenlib/intern/math_base_inline.c +++ b/source/blender/blenlib/intern/math_base_inline.c @@ -92,7 +92,7 @@ MINLINE float saasinf(float fac) MINLINE float sasqrtf(float fac) { if (fac <= 0.0f) return 0.0f; - return (float)sqrtf(fac); + return sqrtf(fac); } MINLINE float interpf(float target, float origin, float fac) |