Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Under PlaneZ
- //under PlaneY
- m_Children[0] = new OctTreeNode(this, AABB(MaxX/2, MinY , MinZ , MaxX , MaxY/2, MaxZ/2), _Level);
- m_Children[1] = new OctTreeNode(this, AABB(MinX , MinY , MinZ , MaxX/2, MaxY/2, MaxZ/2), _Level);
- //Under PlaneY
- //Över PlaneY
- m_Children[2] = new OctTreeNode(this, AABB(MinX , MaxY/2, MinZ , MaxX/2, MaxY , MaxZ/2), _Level);
- m_Children[3] = new OctTreeNode(this, AABB(MaxX/2, MaxY/2, MinZ , MaxX , MaxY , MaxZ/2), _Level);
- //Över PlaneY
- //Under PlaneZ
- //Över PlaneZ
- //Under PlaneY
- m_Children[4] = new OctTreeNode(this, AABB(MaxX/2, MinY , MaxZ/2, MaxX , MaxY/2, MaxZ), _Level);
- m_Children[5] = new OctTreeNode(this, AABB(MinX , MinY , MaxZ/2, MaxX/2, MaxY/2, MaxZ), _Level);
- //Under PlaneY
- //Över PlaneY
- m_Children[6] = new OctTreeNode(this, AABB(MinX , MaxY/2, MaxZ/2, MaxX/2, MaxY , MaxZ), _Level);
- m_Children[7] = new OctTreeNode(this, AABB(MaxX/2, MaxY/2, MaxZ/2, MaxX , MaxY , MaxZ), _Level);
- //Över PlaneY
- //Över PlaneZ
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement