Class Leap::Unity::Animation::Mathq

class Leap.Unity.Animation.Mathq

Quaternion math.

Public Static Functions

static Quaternion Exp (Vector3 angleAxisVector)

Exponential Quaternion Map function. Maps Euclidean 3D input space to a Quaternion for spline math.

Some helpful references: http://graphics.cs.cmu.edu/nsp/course/15-464/Fall05/papers/kimKimShin.pdf https://www.cs.indiana.edu/ftp/hanson/Siggraph01QuatCourse/quatvis2.pdf

static Vector3 Log (Quaternion quaternion)

Exponential Quaternion Map function (inverse). Maps a Quaternion to reduced Euclidean 3D space for spline math.

Some helpful references: http://graphics.cs.cmu.edu/nsp/course/15-464/Fall05/papers/kimKimShin.pdf https://www.cs.indiana.edu/ftp/hanson/Siggraph01QuatCourse/quatvis2.pdf