Bugfix: missing break might have caused problems with curves interpolations.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7099 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Kae..pl 14 years ago
parent 46785739a4
commit b17d5d3706
  1. 1
      engine/src/core/com/jme3/math/Spline.java

@ -265,6 +265,7 @@ public class Spline implements Savable {
break;
case Bezier:
FastMath.interpolateBezier(value, controlPoints.get(currentControlPoint), controlPoints.get(currentControlPoint + 1), controlPoints.get(currentControlPoint + 2), controlPoints.get(currentControlPoint + 3), store);
break;
case Nurb:
CurveAndSurfaceMath.interpolateNurbs(value, this, store);
break;

Loading…
Cancel
Save