All pastes #17416 Raw Edit

Anonymous

public text v1 · immutable
#17416 ·published 2005-07-11 00:19 UTC
rendered paste body
Corrected a problem with Ogre::SimpleSpline::interpolate( Real t ) and Ogre::RotationalSpline::interpolate( Real t).

The interpolate method was returning the position ( or orientation for the RotationalSpline ) of the last control point of the spline, before t reach 1.0.

It was a "missed by one" error.

( corrected by Sinbad on IRC )