vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LinearInterpolator.h
Go to the documentation of this file.
1 #pragma once
2 #include "interpolator.h"
4 {
5 public:
7  META_DAObject(LinearInterpolator, "Linear Interpolator")
8 
9  virtual Vec3ArrayPtr interpolate(const Vec3ArrayPtr array, unsigned int interpolationSteps, bool closed);
10 
11 private:
12  osg::Vec3 interpolatePoint( double t, const osg::Vec3& point1, const osg::Vec3& point2 );
13 };
14