Esempio n. 1
0
 public CQuadLeaf(CQuadLeaf in_parent, int in_quad_index)
 {
     _parent     = in_parent;
     _quad_index = in_quad_index;
     _objects    = new List <CObj>();
     CalculateOrigin();
     _quad_model = new SQuadModel(_origin, _size);
 }
Esempio n. 2
0
 public CQuadLeaf(float in_size, Vector3 in_origin)
 {
     _parent     = null;
     _size       = in_size;
     _quad_index = 0;
     _objects    = new List <CObj>();
     _origin     = in_origin;
     _quad_model = new SQuadModel(_origin, _size);
 }