Blender Git Commit Log

Git Commits -> Revision 4f2e57a

Revision 4f2e57a by Kester Maddock (master)
January 9, 2005, 00:06 (GMT)
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.

Commit Details:

Full Hash: 4f2e57a5410c13ccf63532cdc0e67a299ba2410d
SVN Revision: 3740
Parent Commit: 5ea2ed3
Lines Changed: +16, -2

2 Modified Paths:

/intern/moto/include/MT_Quaternion.inl (+8, -2) (Diff)
/intern/moto/include/MT_Scalar.h (+8, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021