diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2018-12-23 15:25:40 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2018-12-23 15:28:32 +0300 |
commit | 02f083cdcecf74a169114850337a99c802c53e34 (patch) | |
tree | 5bfd5c4ca3fb61a48d8205875e2451b51a84a2d4 /source/blender/blenlib/BLI_math_rotation.h | |
parent | 1574b691f3cc5928c408f24901c8b5a3ebfe7103 (diff) |
BLI_math_rotation: properly name the quaternion power function.
"angular mult factor" is a completely unintelligible description
for a function that raises a unit quaternion to the scalar power.
Diffstat (limited to 'source/blender/blenlib/BLI_math_rotation.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_rotation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_math_rotation.h b/source/blender/blenlib/BLI_math_rotation.h index 5b1568ab902..2bc82bac8d8 100644 --- a/source/blender/blenlib/BLI_math_rotation.h +++ b/source/blender/blenlib/BLI_math_rotation.h @@ -53,7 +53,8 @@ void copy_qt_qt(float q[4], const float a[4]); void mul_qt_qtqt(float q[4], const float a[4], const float b[4]); 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 pow_qt_fl_normalized(float q[4], const float f); void sub_qt_qtqt(float q[4], const float a[4], const float b[4]); |