Fix bug #2006:
authorKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>
Sun, 9 Jan 2005 00:06:45 +0000 (00:06 +0000)
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>
Sun, 9 Jan 2005 00:06:45 +0000 (00:06 +0000)
commit4f2e57a5410c13ccf63532cdc0e67a299ba2410d
treef011ee91f8853be13d3af63b15aed27fb1f54c32
parent5ea2ed38e76c5da7b801d77f659567784f6c7390
Fix bug #2006:

Floating point imprecision made MT_Quaternion::angle return NaN, since acos(x) is NaN for |x| > 1.

Because of the way NaN's propagate through float math, the view pos would be set to [NaN, NaN, NaN] resulting in a grey screen.
intern/moto/include/MT_Quaternion.inl
intern/moto/include/MT_Scalar.h