diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-02 04:08:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-02 04:08:01 +0400 |
commit | c04850ec06135f20f935d7f493214fa107435176 (patch) | |
tree | 7c9af0854c1bff9296b1ba53e66c14532bbe75a7 /source/blender/blenlib/BLI_math_rotation.h | |
parent | 2e7c8bbeec1592212c315172a427f2c5dab70de7 (diff) |
python mathutils change
quat * quat was returning the dot product (a float), rather then the cross product.
Use BLI_math's mul_qt_qtqt() function.
Diffstat (limited to 'source/blender/blenlib/BLI_math_rotation.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_rotation.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_math_rotation.h b/source/blender/blenlib/BLI_math_rotation.h index f3da20f91c2..ac8ed041ebc 100644 --- a/source/blender/blenlib/BLI_math_rotation.h +++ b/source/blender/blenlib/BLI_math_rotation.h @@ -44,9 +44,9 @@ void copy_qt_qt(float q[4], const float a[4]); /* arithmetic */ void mul_qt_qtqt(float q[4], const float a[4], const float b[4]); -void mul_qt_v3(float q[4], float r[3]); -void mul_qt_fl(float q[4], float f); -void mul_fac_qt_fl(float q[4], float f); +void mul_qt_v3(const float q[4], float r[3]); +void mul_qt_fl(float q[4], const float f); +void mul_fac_qt_fl(float q[4], const float f); void sub_qt_qtqt(float q[4], float a[4], float b[4]); |