/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
TerrainGrid.java | 195 Vector2f offset, float offsetAmount) { 201 this.offsetAmount = offsetAmount; 219 Vector2f offset, float offsetAmount) { 225 this.offsetAmount = offsetAmount; 492 offsetAmount = c.readFloat("offsetAmount", 0); 511 c.write(offsetAmount, "offsetAmount", 0) [all...] |
TerrainPatch.java | 101 protected float offsetAmount;
165 * @param offsetAmount
170 Vector2f offset, float offsetAmount) {
175 this.offsetAmount = offsetAmount;
181 Mesh m = geomap.createMesh(stepScale, new Vector2f(1,1), offset, offsetAmount, totalSize, false);
613 return offsetAmount;
708 * @param offsetAmount
711 public void setOffsetAmount(float offsetAmount) {
712 this.offsetAmount = offsetAmount; [all...] |
TerrainQuad.java | 104 protected float offsetAmount;
203 Vector2f offset, float offsetAmount)
218 this.offsetAmount = offsetAmount;
701 offsetAmount += quarterSize;
719 offsetAmount);
739 offsetAmount);
759 offsetAmount);
779 offsetAmount);
814 offsetAmount += quarterSize; [all...] |
LODGeomap.java | 80 public Mesh createMesh(Vector3f scale, Vector2f tcScale, Vector2f tcOffset, float offsetAmount, int totalSize, boolean center) {
81 return this.createMesh(scale, tcScale, tcOffset, offsetAmount, totalSize, center, 1, false, false, false, false);
84 public Mesh createMesh(Vector3f scale, Vector2f tcScale, Vector2f tcOffset, float offsetAmount, int totalSize, boolean center, int lod, boolean rightLod, boolean topLod, boolean leftLod, boolean bottomLod) {
86 FloatBuffer texb = writeTexCoordArray(null, tcOffset, tcScale, offsetAmount, totalSize);
105 public FloatBuffer writeTexCoordArray(FloatBuffer store, Vector2f offset, Vector2f scale, float offsetAmount, int totalSize) {
123 getUV(x, y, tcStore, offset, offsetAmount, totalSize);
134 public Vector2f getUV(int x, int y, Vector2f store, Vector2f offset, float offsetAmount, int totalSize) {
135 float offsetX = offset.x + (offsetAmount * 1.0f);
136 float offsetY = -offset.y + (offsetAmount * 1.0f);//note the -, we flip the tex coords
[all...] |