Lines Matching refs:totalSize

96     protected int totalSize; // the size of this entire terrain tree (on one side)

98 protected int size; // size of this quad, can be between totalSize and patchSize
144 * @param totalSize the size of this entire terrain tree (on one side)
148 public TerrainQuad(String name, int patchSize, int totalSize, float[] heightMap) {
149 this(name, patchSize, totalSize, Vector3f.UNIT_XYZ, heightMap);
158 * @param totalSize the size of this entire terrain tree (on one side)
162 public TerrainQuad(String name, int patchSize, int quadSize, int totalSize, float[] heightMap) {
163 this(name, patchSize, totalSize, quadSize, Vector3f.UNIT_XYZ, heightMap);
171 * @param size size of this quad, can be between totalSize and patchSize
188 * @param totalSize the size of this entire terrain tree (on one side)
194 public TerrainQuad(String name, int patchSize, int totalSize, int quadSize, Vector3f scale, float[] heightMap) {
195 this(name, patchSize, quadSize, scale, heightMap, totalSize, new Vector2f(), 0);
196 affectedAreaBBox = new BoundingBox(new Vector3f(0,0,0), totalSize*2, Float.MAX_VALUE, totalSize*2);
202 Vector3f scale, float[] heightMap, int totalSize,
219 this.totalSize = totalSize;
363 int numCalc = (totalSize-1)/(patchSize-1); // make it an even number
410 // return 1f/(float)totalSize;
718 split, stepScale, heightBlock1, totalSize, tempOffset,
738 split, stepScale, heightBlock2, totalSize, tempOffset,
758 split, stepScale, heightBlock3, totalSize, tempOffset,
778 split, stepScale, heightBlock4, totalSize, tempOffset,
829 stepScale, heightBlock1, origin1, totalSize, tempOffset1,
851 stepScale, heightBlock2, origin2, totalSize, tempOffset2,
873 stepScale, heightBlock3, origin3, totalSize, tempOffset3,
895 stepScale, heightBlock4, origin4, totalSize, tempOffset4,
997 int halfSize = totalSize / 2;
1100 float x = (float)(((xz.x - getWorldTranslation().x) / getWorldScale().x) + (float)totalSize / 2f);
1101 float z = (float)(((xz.y - getWorldTranslation().z) / getWorldScale().z) + (float)totalSize / 2f);
1140 float x = (float)(((xz.x - getWorldTranslation().x) / getWorldScale().x) + (float)totalSize / 2f);
1141 float z = (float)(((xz.y - getWorldTranslation().z) / getWorldScale().z) + (float)totalSize / 2f);
1200 int halfSize = totalSize / 2;
1323 return (x >= 0 && x <= totalSize && z >= 0 && z <= totalSize);
1328 return totalSize;
1728 totalSize = c.readInt("totalSize", 0);
1733 BoundingBox all = new BoundingBox(getWorldTranslation(), totalSize, totalSize, totalSize);
1744 c.write(totalSize, "totalSize", 0);
1763 quadClone.totalSize = totalSize;
1800 return totalSize;