public OctreeNode ( Vector3 position, int size, NodeType type ) : System | ||
position | Vector3 | |
size | int | |
type | NodeType | |
return | System |
public OctreeNode(Vector3 position, int size, NodeType type)
{
this.position = position;
this.size = size;
this.type = type;
this.children = new OctreeNode[8];
this.vertices = new Vertex[0];
}
OctreeNode::OctreeNode ( ) : System |