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

/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
H A DCurve.java51 private Spline spline; field in class:Curve
62 * Use a CatmullRom spline model that does not cycle.
74 * @param spline the spline to use
77 public Curve(Spline spline, int nbSubSegments) { argument
79 this.spline = spline;
80 switch (spline.getType()) {
98 float[] array = new float[((spline.getControlPoints().size() - 1) * nbSubSegments + 1) * 3];
99 short[] indices = new short[(spline
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/
H A DMotionPath.java62 private Spline spline = new Spline(); field in class:MotionPath
109 for (Iterator<Vector3f> it = spline.getControlPoints().iterator(); it.hasNext();) {
116 switch (spline.getType()) {
137 Geometry lineGeometry = new Geometry("line", new Curve(spline, 0));
147 Geometry lineGeometry = new Geometry("line", new Curve(spline, 10));
155 oc.write(spline, "spline", null);
161 spline = (Spline) in.readSavable("spline", null);
173 distance = distance % spline
[all...]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/
H A DShaderUtils.java133 public static final float spline(float x, final float[] knot) { method in class:ShaderUtils
157 /* Find the appropriate 4-point span of the spline. */
172 public static final float[] spline(final float x, final float[][] knots) { method in class:ShaderUtils
175 retval[i] = ShaderUtils.spline(x, knots[i]);

Completed in 87 milliseconds