HomeSort by relevance Sort by last modified time
    Searched refs:HeightField (Results 1 - 2 of 2) sorted by null

  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
HeightMapTest.java 23 /** Simple test showing how to use a height map. Uses {@link HeightField}.
26 HeightField field;
43 field = new HeightField(true, data, true, Usage.Position | Usage.Normal | Usage.ColorUnpacked | Usage.TextureCoordinates);
HeightField.java 23 * Represents a HeightField, which is an evenly spaced grid of values, where each value defines the height on that position of the
31 * The values of the heightfield are normalized. Meaning that they typically range from 0 to 1 (but they can be negative or more
32 * than one). The plane of the heightfield can be specified using the {@link #corner00}, {@link #corner01}, {@link #corner10} and
37 * perpendicular to the heightfield. E.g. if the field is on the XZ plane, then the magnitude is typically pointing on the Y axis.
45 * You can set this heightfield using the constructor or one of the `set` methods. E.g. by specifying an array of values or a
50 * You can also manually modify the heightfield by directly accessing the {@link #data} member. The index within this array can be
66 public class HeightField implements Disposable {
109 public HeightField (boolean isStatic, final Pixmap map, boolean smooth, int attributes) {
114 public HeightField (boolean isStatic, final ByteBuffer colorData, final Pixmap.Format format, int width, int height,
120 public HeightField (boolean isStatic, final float[] data, int width, int height, boolean smooth, int attributes)
    [all...]

Completed in 147 milliseconds