summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2015-07-30 11:09:00 -0400
committerOz Linden <oz@lindenlab.com>2015-07-30 11:09:00 -0400
commit71a468c6fb52f2f2cc7ebd17e548e9eaf3a875a5 (patch)
treee2d49a6fe81f8fd9f0e8793112830d7b17d9068d /indra/llmath
parentf46526b16004e734d0a459e482ab9bb5df656c54 (diff)
parent94744d4e5ec1bb8dfafa2c459ebc8fbf0b92a68a (diff)
merge changes for other open sourc contributions
Diffstat (limited to 'indra/llmath')
-rwxr-xr-xindra/llmath/llcalcparser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llmath/llcalcparser.h b/indra/llmath/llcalcparser.h
index faa699ff7b..e2388d6702 100755
--- a/indra/llmath/llcalcparser.h
+++ b/indra/llmath/llcalcparser.h
@@ -167,9 +167,9 @@ private:
F32 _sin(const F32& a) const { return sin(DEG_TO_RAD * a); }
F32 _cos(const F32& a) const { return cos(DEG_TO_RAD * a); }
F32 _tan(const F32& a) const { return tan(DEG_TO_RAD * a); }
- F32 _asin(const F32& a) const { return asin(a * RAD_TO_DEG); }
- F32 _acos(const F32& a) const { return acos(a * RAD_TO_DEG); }
- F32 _atan(const F32& a) const { return atan(a * RAD_TO_DEG); }
+ F32 _asin(const F32& a) const { return asin(a) * RAD_TO_DEG; }
+ F32 _acos(const F32& a) const { return acos(a) * RAD_TO_DEG; }
+ F32 _atan(const F32& a) const { return atan(a) * RAD_TO_DEG; }
F32 _sqrt(const F32& a) const { return sqrt(a); }
F32 _log(const F32& a) const { return log(a); }
F32 _exp(const F32& a) const { return exp(a); }