Searched refs:minTrisPerNode (Results 1 – 2 of 2) sorted by relevance
58 private final int minTrisPerNode; field in Octree80 public Octree(Spatial scene, int minTrisPerNode){ in Octree() argument99 this.minTrisPerNode = minTrisPerNode; in Octree()122 root.subdivide(minTrisPerNode); in construct()
112 public void subdivide(int depth, int minTrisPerNode){ in subdivide() argument113 if (tris == null || depth > 50 || bbox.getVolume() < 0.01f || tris.size() < minTrisPerNode){ in subdivide()164 children[i].subdivide(depth + 1, minTrisPerNode); in subdivide()169 public void subdivide(int minTrisPerNode){ in subdivide() argument170 subdivide(0, minTrisPerNode); in subdivide()