Searched defs:nurbSpline (Results 1 - 1 of 1) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DCurveAndSurfaceMath.java22 * @param nurbSpline
27 public static void interpolateNurbs(float u, Spline nurbSpline, Vector3f store) { argument
28 if (nurbSpline.getType() != SplineType.Nurb) {
31 List<Vector3f> controlPoints = nurbSpline.getControlPoints();
32 float[] weights = nurbSpline.getWeights();
33 List<Float> knots = nurbSpline.getKnots();
39 float val = weights[i] * CurveAndSurfaceMath.computeBaseFunctionValue(i, nurbSpline.getBasisFunctionDegree(), u, knots);
40 store.addLocal(nurbSpline.getControlPoints().get(i)

Completed in 43 milliseconds