Home
last modified time | relevance | path

Searched refs:nurbSpline (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/math/
DCurveAndSurfaceMath.java27 public static void interpolateNurbs(float u, Spline nurbSpline, Vector3f store) { in interpolateNurbs() argument
28 if (nurbSpline.getType() != SplineType.Nurb) { in interpolateNurbs()
31 List<Vector3f> controlPoints = nurbSpline.getControlPoints(); in interpolateNurbs()
32 float[] weights = nurbSpline.getWeights(); in interpolateNurbs()
33 List<Float> knots = nurbSpline.getKnots(); in interpolateNurbs()
39 …float val = weights[i] * CurveAndSurfaceMath.computeBaseFunctionValue(i, nurbSpline.getBasisFuncti… in interpolateNurbs()
40 store.addLocal(nurbSpline.getControlPoints().get(i) in interpolateNurbs()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/
DCurvesHelper.java325 Spline nurbSpline = new Spline(controlPoints.get(0), knots[0]); in loadNurb() local
326 Curve nurbCurve = new Curve(nurbSpline, resolu); in loadNurb()