public UnorderedRayEnumerator(PackedBvh bvh, Ray ray)
 {
     _bvh        = bvh;
     _ray        = ray;
     _nodes      = null;
     Current     = -1;
     CurrentDist = float.MaxValue;
     Reset();
 }
Ejemplo n.º 2
0
 private MaterialBvh(PackedBvh bvh, TriangleData[] tri, IReadOnlyCollection <string> table)
 {
     _bvh       = bvh;
     _triangles = tri;
     _strings   = table;
 }