/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/ |
D | FractalTileLoader.java | 43 private int quadSize; field in FractalTileLoader 55 …er = this.base.getBuffer(location.x * (this.quadSize - 1), location.z * (this.quadSize - 1), 0, th… in getHeightMapAt() 68 …TerrainQuad q = new TerrainQuad("Quad" + location, patchSize, quadSize, heightMapAt == null ? null… in getTerrainQuadAt() 76 public void setQuadSize(int quadSize) { in setQuadSize() argument 77 this.quadSize = quadSize; in setQuadSize()
|
D | ImageTileLoader.java | 30 private int quadSize; field in ImageTileLoader 134 …TerrainQuad q = new TerrainQuad("Quad" + location, patchSize, quadSize, heightMapAt == null ? null… in getTerrainQuadAt() 142 public void setQuadSize(int quadSize) { in setQuadSize() argument 143 this.quadSize = quadSize; in setQuadSize()
|
D | AssetTileLoader.java | 30 private int quadSize; field in AssetTileLoader 71 public void setQuadSize(int quadSize) { in setQuadSize() argument 72 this.quadSize = quadSize; in setQuadSize() 76 TerrainQuad q = new TerrainQuad("Quad" + location, patchSize, quadSize, null); in createNewQuad()
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
D | TerrainGrid.java | 107 protected int quadSize; field in TerrainGrid 145 …q = new TerrainQuad(getName() + "Quad" + quadCell, patchSize, quadSize, heightMapAt == null ? null… in run() 205 terrainQuadGrid.setQuadSize(this.quadSize); in TerrainGrid() 228 heightMapGrid.setSize(this.quadSize); in TerrainGrid() 248 this.quadSize = (maxVisibleSize + 1) >> 1; in initData() 320 Vector3f tileLoc = location.divide(this.getWorldScale().mult(this.quadSize)); in getTileCell() 347 …Vector3f loc = quadCell.mult(this.quadSize - 1).subtract(quarterSize, 0, quarterSize);// quadrant … in attachQuadAt() 448 public void setQuadSize(int quadSize) { in setQuadSize() argument 449 this.quadSize = quadSize; in setQuadSize() 454 … Vector3f currentGridLocation = getCurrentCell().mult(getLocalScale()).multLocal(quadSize - 1); in adjustHeight() [all …]
|
D | TerrainGridTileLoader.java | 20 public void setQuadSize(int quadSize); in setQuadSize() argument
|
D | TerrainQuad.java | 162 public TerrainQuad(String name, int patchSize, int quadSize, int totalSize, float[] heightMap) { 163 this(name, patchSize, totalSize, quadSize, Vector3f.UNIT_XYZ, heightMap); 194 …public TerrainQuad(String name, int patchSize, int totalSize, int quadSize, Vector3f scale, float[… 195 this(name, patchSize, quadSize, scale, heightMap, totalSize, new Vector2f(), 0); 201 protected TerrainQuad(String name, int patchSize, int quadSize, 208 heightMap = generateDefaultHeightMap(quadSize); 210 if (!FastMath.isPowerOfTwo(quadSize - 1)) { 211 …throw new RuntimeException("size given: " + quadSize + " Terrain quad sizes may only be (2^N + 1)… 213 if (FastMath.sqrt(heightMap.length) > quadSize) { 220 this.size = quadSize;
|
/external/deqp/modules/glshared/ |
D | glsShaderLibraryCase.cpp | 657 const float quadSize = 1.0f; in execute() local 660 -quadSize, -quadSize, 0.0f, 1.0f, in execute() 661 -quadSize, +quadSize, 0.0f, 1.0f, in execute() 662 +quadSize, -quadSize, 0.0f, 1.0f, in execute() 663 +quadSize, +quadSize, 0.0f, 1.0f in execute() 1020 const int minY = deCeilFloatToInt32 (((-quadSize / w) * 0.5f + 0.5f) * height + 1.0f); in execute() 1021 const int maxY = deFloorFloatToInt32(((+quadSize / w) * 0.5f + 0.5f) * height - 0.5f); in execute() 1022 const int minX = deCeilFloatToInt32 (((-quadSize / w) * 0.5f + 0.5f) * width + 1.0f); in execute() 1023 const int maxX = deFloorFloatToInt32(((+quadSize / w) * 0.5f + 0.5f) * width - 0.5f); in execute()
|