Skip to content

Commit

Permalink
MSAInterpolator: added length getter, set length subdivision count, t…
Browse files Browse the repository at this point in the history
…idied template code
  • Loading branch information
Memo Akten authored and Memo Akten committed Nov 12, 2010
1 parent 7c57385 commit 6d6c36f
Show file tree
Hide file tree
Showing 2 changed files with 298 additions and 210 deletions.
Expand Up @@ -133,7 +133,7 @@ void testApp::draw() {
string uiDist = spline3D.getUseLength() ? "* " : " ";
ofDrawBitmapString( ofToString(ofGetFrameRate(), 2) + "\n"
+ "numSteps (resampling resolution - mouseX to change): " + ofToString(numSteps) + "\n"
+ "mouse click around the area to draw a 3D spline\n"
+ "mouse click around the area to draw a 3D spline (length = " + ofToString(spline3D.getLength()) + "\n"
+ "\n"
+ uiLin + "'1' to use linear interpolation\n"
+ uiCub + "'2' to use cubic (catmull rom) interpolation\n"
Expand Down

0 comments on commit 6d6c36f

Please sign in to comment.