Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. //Under PlaneZ
  2. //under PlaneY
  3. m_Children[0] = new OctTreeNode(this, AABB(MaxX/2, MinY , MinZ , MaxX , MaxY/2, MaxZ/2), _Level);
  4. m_Children[1] = new OctTreeNode(this, AABB(MinX , MinY , MinZ , MaxX/2, MaxY/2, MaxZ/2), _Level);
  5. //Under PlaneY
  6.  
  7. //Över PlaneY
  8. m_Children[2] = new OctTreeNode(this, AABB(MinX , MaxY/2, MinZ , MaxX/2, MaxY , MaxZ/2), _Level);
  9. m_Children[3] = new OctTreeNode(this, AABB(MaxX/2, MaxY/2, MinZ , MaxX , MaxY , MaxZ/2), _Level);
  10. //Över PlaneY
  11. //Under PlaneZ
  12.  
  13. //Över PlaneZ
  14. //Under PlaneY
  15. m_Children[4] = new OctTreeNode(this, AABB(MaxX/2, MinY , MaxZ/2, MaxX , MaxY/2, MaxZ), _Level);
  16. m_Children[5] = new OctTreeNode(this, AABB(MinX , MinY , MaxZ/2, MaxX/2, MaxY/2, MaxZ), _Level);
  17. //Under PlaneY
  18.  
  19. //Över PlaneY
  20. m_Children[6] = new OctTreeNode(this, AABB(MinX , MaxY/2, MaxZ/2, MaxX/2, MaxY , MaxZ), _Level);
  21. m_Children[7] = new OctTreeNode(this, AABB(MaxX/2, MaxY/2, MaxZ/2, MaxX , MaxY , MaxZ), _Level);
  22. //Över PlaneY
  23. //Över PlaneZ
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement