X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fanimation.cpp;h=1e2dda900fafc0d580bf84cb648772ccf7747ac3;hp=8f7dea03bd90e8c8513c5e2ac77379699072ed16;hb=72a13418cc19e750abf3f8d8a52aea5e1abe4983;hpb=3f7c493e13b7108098539078b729cffc095c304b diff --git a/source/animation.cpp b/source/animation.cpp index 8f7dea03..1e2dda90 100644 --- a/source/animation.cpp +++ b/source/animation.cpp @@ -145,7 +145,7 @@ Matrix Animation::MatrixInterpolation::get(float t) const will be in the range [-1, 1]. */ float w = (axes[i].slope+(1-axes[i].slope)*u*u)*u*0.5f+0.5f; - /* The interpolate vectors will also be shorter than unit length. At + /* The interpolated vectors will also be shorter than unit length. At the halfway point the length will be equal to the cosine of half the angle, which was computed earlier. Use a second degree polynomial to approximate. */