[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17485] trunk/blender/source/blender/ blenlib/intern/arithb.c: QuatOne was so wrong is would make Hamilton cry.
Martin Poirier
theeth at yahoo.com
Mon Nov 17 23:13:49 CET 2008
Revision: 17485
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17485
Author: theeth
Date: 2008-11-17 23:13:45 +0100 (Mon, 17 Nov 2008)
Log Message:
-----------
QuatOne was so wrong is would make Hamilton cry.
Thankfully, very little code used it, the only exception being the retarget code in etch-a-ton.
Modified Paths:
--------------
trunk/blender/source/blender/blenlib/intern/arithb.c
Modified: trunk/blender/source/blender/blenlib/intern/arithb.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/arithb.c 2008-11-17 21:11:12 UTC (rev 17484)
+++ trunk/blender/source/blender/blenlib/intern/arithb.c 2008-11-17 22:13:45 UTC (rev 17485)
@@ -1351,8 +1351,8 @@
void QuatOne(float *q)
{
- q[0]= q[2]= q[3]= 0.0;
- q[1]= 1.0;
+ q[0]= 1.0;
+ q[1]= q[2]= q[3]= 0.0;
}
void NormalQuat(float *q)
More information about the Bf-blender-cvs
mailing list