The Wizards Wiki

Explore your world

User Tools

Site Tools


documentation:core

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
documentation:core [2011/06/06 17:01] – created mhgameworkdocumentation:core [2024/08/26 13:25] (current) – external edit 127.0.0.1
Line 14: Line 14:
 Also implement a way of not equal splitting: not all nodes have to be split to the same depth,  Also implement a way of not equal splitting: not all nodes have to be split to the same depth, 
 eg: the IsLeafNode function should support this with the array structure from above. eg: the IsLeafNode function should support this with the array structure from above.
 +<graphviz center> 
 +digraph { 
 +  node [shape = box]; 
 +  QuadTree -> "IQuadTreeNode<T>" -> "QuadTreeNodeData<T>"; 
 +  QuadTreeVisualizer -> "IQuadTreeNode<T>"; 
 +
 +</graphviz>
 ==== QuadTree ==== ==== QuadTree ====
  
Line 20: Line 26:
  
 <color red>WARNING: Since the QuadTreeNodeData is a structure, it is copied several times in code, maybe a class is faster for the QuadTreeNodeData</color> <color red>WARNING: Since the QuadTreeNodeData is a structure, it is copied several times in code, maybe a class is faster for the QuadTreeNodeData</color>
 +
 +
  
 ==== IQuadTreeNode<T> ==== ==== IQuadTreeNode<T> ====
Line 33: Line 41:
  
 This class visualizes a quadtree. Currently this is by simply rendering some lines, but this could be extended to nice transparent box/plane rendering, or a second implementation of this class could be written. This class visualizes a quadtree. Currently this is by simply rendering some lines, but this could be extended to nice transparent box/plane rendering, or a second implementation of this class could be written.
- 
  
  
 +
documentation/core.1307379711.txt.gz · Last modified: 2024/08/26 13:57 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki