Searched refs:nurbSpline (Results 1 – 2 of 2) sorted by relevance
27 public static void interpolateNurbs(float u, Spline nurbSpline, Vector3f store) { in interpolateNurbs() argument28 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()
325 Spline nurbSpline = new Spline(controlPoints.get(0), knots[0]); in loadNurb() local326 Curve nurbCurve = new Curve(nurbSpline, resolu); in loadNurb()