Home
last modified time | relevance | path

Searched refs:quadSize (Results 1 – 7 of 7) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/
DFractalTileLoader.java43 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()
DImageTileLoader.java30 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()
DAssetTileLoader.java30 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/
DTerrainGrid.java107 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 …]
DTerrainGridTileLoader.java20 public void setQuadSize(int quadSize); in setQuadSize() argument
DTerrainQuad.java162 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/
DglsShaderLibraryCase.cpp657 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()