MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / addPoint

Method addPoint

OgreMain/src/OgreSimpleSpline.cpp:64–71  ·  view source on GitHub ↗

---------------------------------------------------------------------

Source from the content-addressed store, hash-verified

62 SimpleSpline::~SimpleSpline() {}
63 //---------------------------------------------------------------------
64 void SimpleSpline::addPoint( const Vector3 &p )
65 {
66 mPoints.push_back( p );
67 if( mAutoCalc )
68 {
69 recalcTangents();
70 }
71 }
72 //---------------------------------------------------------------------
73 Vector3 SimpleSpline::interpolate( Real t ) const
74 {

Callers 1

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected