Exemple #1
0
 protected internal SceneGraph(Scene parent, RegionInfo regInfo)
 {
     m_parentScene = parent;
     m_regInfo = regInfo;
     QuadTree = new BasicQuadTreeNode(null, "/0/", 0, 0, (short)Constants.RegionSize, (short)Constants.RegionSize);
     QuadTree.Subdivide();
     QuadTree.Subdivide();
 }
Exemple #2
0
 protected internal SceneGraph(Scene parent, RegionInfo regInfo)
 {
     _transactionMgr = new SceneTransactionManager(this);
     m_parentScene = parent;
     m_regInfo = regInfo;
     QuadTree = new BasicQuadTreeNode(null, "/0/", 0, 0, (short)Constants.RegionSize, (short)Constants.RegionSize);
     QuadTree.Subdivide();
     QuadTree.Subdivide();
 }