// Use this for initialization
 void Start()
 {
     bvh = new BVH(null, bvhSplitMethod, 1);
     bvh.CreateBVH();
     cameraHelper = new CameraHelper(Camera.main);
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Awake()
 {
     bvh = new BVH(transform, bvhSplitMethod, 4);
     bvh.CreateBVH();
     box = bvh;
 }
Ejemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     bvh = new BVH(null, bvhSplitMethod);
     bvh.CreateBVH();
 }