Blender Git Loki

Blender Git "temp-mathutils" branch commits.

February 1, 2015, 11:40 (GMT)
no need to use mul_vn_fl when size is known
February 1, 2015, 11:37 (GMT)
minor edits to expmap functions

add quat_normalized_to_expmap incase we know the quats already unit length
February 1, 2015, 10:58 (GMT)
mathutils: added exponential map to Quaternion

Added conversion to and from exponential map representation. This representation is useful for interpolation of > 2 quaternions, or in PD controllers.

Implementation in C functions `quat_to_expmap(...)` and `expmap_to_quat(...)` with Python API, unit tests and documentation.
Added Quaternion.to_exponential_map() and Quaternion(3-vector) to Python API.

Reviewers: campbellbarton

Projects: #bf_blender

Differential Revision: https://developer.blender.org/D1049
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2019