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