diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/llmath/llcoordframe.cpp | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/llmath/llcoordframe.cpp')
-rw-r--r-- | linden/indra/llmath/llcoordframe.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/llmath/llcoordframe.cpp b/linden/indra/llmath/llcoordframe.cpp index 6d18c8b..0196424 100644 --- a/linden/indra/llmath/llcoordframe.cpp +++ b/linden/indra/llmath/llcoordframe.cpp | |||
@@ -730,7 +730,11 @@ void LLCoordFrame::lookDir(const LLVector3 &at, const LLVector3 &up_direction) | |||
730 | left.normVec(); | 730 | left.normVec(); |
731 | 731 | ||
732 | LLVector3 up = at % left; | 732 | LLVector3 up = at % left; |
733 | setAxes(at, left, up); | 733 | |
734 | if (at.isFinite() && left.isFinite() && up.isFinite()) | ||
735 | { | ||
736 | setAxes(at, left, up); | ||
737 | } | ||
734 | } | 738 | } |
735 | 739 | ||
736 | void LLCoordFrame::lookDir(const LLVector3 &xuv) | 740 | void LLCoordFrame::lookDir(const LLVector3 &xuv) |