Hey guys
Im working with ofxMSAInterpolator to create a spline. I am building the 3D spline like this
spline3D.push_back(ofVec3f(-200, 700, 0));
spline3D.push_back(ofVec3f(0, 680, -200));
spline3D.push_back(ofVec3f(200, 660, 0));
spline3D.push_back(ofVec3f(0, 640, 200));
spline3D.push_back(ofVec3f(-200, 620, 0));
//and so on
How would I edit a point in the spline at a certain position? I was thinking of something like
void edit3DPoint(ofVec3f newPointPosition, int positionInVector)
{
spline3D[positionInVector] = newPointPosition;
}