altos: Add functions to init quaternions from vector pairs and euler angles
authorKeith Packard <keithp@keithp.com>
Mon, 28 Oct 2013 06:11:37 +0000 (23:11 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 28 Oct 2013 06:11:37 +0000 (23:11 -0700)
commitc10cb9d31765e6ef0ba737bc484c5aed22a332f9
treeafbcec7230f79059537d133c6ac45d0d4418f3be
parent3b25860b5b3b69642928dd9c30dec4b4b937a88c
altos: Add functions to init quaternions from vector pairs and euler angles

Our low sampling rate means that the "cheap" hack for
integrating quaternion rotations by using sin(x) ≃ x doesn't work, so
instead we have to compute the partial rotation the hard way.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_quaternion.h