vect-0.4.7: A low-dimensional linear algebra library, tailored to computer graphics.

Data.Vect.Double.Interpolate

Description

Interpolation of vectors. Note: we interpolate unit vectors differently from ordinary vectors.

Synopsis

Documentation

slerp :: (Interpolate v, UnitVector v u) => Double -> u -> u -> uSource

Spherical linear interpolation. See http://en.wikipedia.org/wiki/Slerp