diff options
author | Dave Parks <davep@lindenlab.com> | 2010-08-19 12:25:15 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-08-19 12:25:15 -0500 |
commit | 2fea1d5d33ec1b41a3cfa4307a1bfa58d8014f88 (patch) | |
tree | 0438f2363b2a91a5ffe970a8130faa118f260e7e /indra/llmath/v2math.cpp | |
parent | bd0b3a2ddeafaf0d1669ede7ab5aee22d8da9af7 (diff) |
Integrate SIMD API from oreh/server-trunk-oreh
Diffstat (limited to 'indra/llmath/v2math.cpp')
-rw-r--r-- | indra/llmath/v2math.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmath/v2math.cpp b/indra/llmath/v2math.cpp index 220336e0c2..2603127f75 100644 --- a/indra/llmath/v2math.cpp +++ b/indra/llmath/v2math.cpp @@ -92,7 +92,7 @@ F32 dist_vec(const LLVector2 &a, const LLVector2 &b) { F32 x = a.mV[0] - b.mV[0]; F32 y = a.mV[1] - b.mV[1]; - return fsqrtf( x*x + y*y ); + return (F32) sqrt( x*x + y*y ); } F32 dist_vec_squared(const LLVector2 &a, const LLVector2 &b) |