Home
last modified time | relevance | path

Searched refs:tris (Results 1 – 8 of 8) sorted by relevance

/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DTestCollector.java47 List<OCTTriangle> tris = new ArrayList<OCTTriangle>(); in main() local
48 tris.add(new OCTTriangle(z, z, z, 1, 0)); in main()
49 tris.add(new OCTTriangle(z, z, z, 0, 1)); in main()
50 List<Geometry> firstOne = TriangleCollector.gatherTris(new Geometry[]{ g, g2 }, tris); in main()
DOctnode.java65 final ArrayList<OCTTriangle> tris; field in Octnode
71 public Octnode(BoundingBox bbox, ArrayList<OCTTriangle> tris){ in Octnode() argument
73 this.tris = tris; in Octnode()
113 if (tris == null || depth > 50 || bbox.getVolume() < 0.01f || tris.size() < minTrisPerNode){ in subdivide()
128 for (OCTTriangle t : tris){ in subdivide()
160 tris.retainAll(keepTris); in subdivide()
246 if (tris.size() > 0){ in collectTriangles()
247 List<Geometry> geomsList = TriangleCollector.gatherTris(inGeoms, tris); in collectTriangles()
294 for (OCTTriangle t : tris){ in intersectWhere()
DTriangleCollector.java99 public static final List<Geometry> gatherTris(Geometry[] inGeoms, List<OCTTriangle> tris){ in gatherTris() argument
100 Collections.sort(tris, comparator); in gatherTris()
103 for (int i = 0; i < tris.size(); i++){ in gatherTris()
104 Range r = ranges.get(tris.get(i).getGeometryIndex()); in gatherTris()
110 ranges.put(tris.get(i).getGeometryIndex(), new Range(i, 1)); in gatherTris()
154 OCTTriangle t = tris.get(i); in gatherTris()
/external/jmonkeyengine/engine/src/test/jme3test/tools/
DTestOctree.java143 int tris = 0; in postQueue() local
146 tris += geom.getTriangleCount(); in postQueue()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DLODGeomap.java962 Triangle[] tris = getGridTrianglesAtPoint(x, z); in getGridTrianglesAtPoint() local
963 if (tris != null) { in getGridTrianglesAtPoint()
964 tris[0].get1().multLocal(scale).addLocal(translation); in getGridTrianglesAtPoint()
965 tris[0].get2().multLocal(scale).addLocal(translation); in getGridTrianglesAtPoint()
966 tris[0].get3().multLocal(scale).addLocal(translation); in getGridTrianglesAtPoint()
967 tris[1].get1().multLocal(scale).addLocal(translation); in getGridTrianglesAtPoint()
968 tris[1].get2().multLocal(scale).addLocal(translation); in getGridTrianglesAtPoint()
969 tris[1].get3().multLocal(scale).addLocal(translation); in getGridTrianglesAtPoint()
971 return tris; in getGridTrianglesAtPoint()
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
DBoundingSphere.java130 public void computeFromTris(Triangle[] tris, int start, int end) { in computeFromTris() argument
139 vertList[count++] = tris[i].get(0); in computeFromTris()
140 vertList[count++] = tris[i].get(1); in computeFromTris()
141 vertList[count++] = tris[i].get(2); in computeFromTris()
DBoundingBox.java118 public void computeFromTris(Triangle[] tris, int start, int end) { in computeFromTris() argument
130 point = tris[i].get(0); in computeFromTris()
132 point = tris[i].get(1); in computeFromTris()
134 point = tris[i].get(2); in computeFromTris()
/external/icu4c/data/rbnf/
Dlt.txt23 "3: tris;",