Searched refs:nbSubSegments (Results 1 – 1 of 1) sorted by relevance
67 public Curve(Vector3f[] controlPoints, int nbSubSegments) { in Curve() argument68 this(new Spline(Spline.SplineType.CatmullRom, controlPoints, 10, false), nbSubSegments); in Curve()77 public Curve(Spline spline, int nbSubSegments) { in Curve() argument82 this.createCatmullRomMesh(nbSubSegments); in Curve()85 this.createBezierMesh(nbSubSegments); in Curve()88 this.createNurbMesh(nbSubSegments); in Curve()97 private void createCatmullRomMesh(int nbSubSegments) { in createCatmullRomMesh() argument98 float[] array = new float[((spline.getControlPoints().size() - 1) * nbSubSegments + 1) * 3]; in createCatmullRomMesh()99 short[] indices = new short[(spline.getControlPoints().size() - 1) * nbSubSegments * 2]; in createCatmullRomMesh()111 for (int j = 1; j < nbSubSegments; j++) { in createCatmullRomMesh()[all …]