Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2008-11-18 01:13:45 +0300
committerMartin Poirier <theeth@yahoo.com>2008-11-18 01:13:45 +0300
commit826c6d935d0a47289369b8c76ceb554d5def189a (patch)
treedcdffe8cc222c20e3a12fdaefe3b12db7dd35430 /source/blender/blenlib/intern/arithb.c
parent3a1cfa50151f2a157b15774dd30a6f285cb4fa87 (diff)
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.
Diffstat (limited to 'source/blender/blenlib/intern/arithb.c')
-rw-r--r--source/blender/blenlib/intern/arithb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/arithb.c b/source/blender/blenlib/intern/arithb.c
index 149d3cf1f8f..e606092f72d 100644
--- a/source/blender/blenlib/intern/arithb.c
+++ b/source/blender/blenlib/intern/arithb.c
@@ -1351,8 +1351,8 @@ void Mat4ToQuat( float m[][4], float *q)
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)