include/kdtree.h
branchpyrit
changeset 80 907929fa9b59
parent 78 9569e9f35374
child 84 6f7fe14782c2
equal deleted inserted replaced
79:062b1c4143f7 80:907929fa9b59
    91 	const bool isBuilt() const { return built; };
    91 	const bool isBuilt() const { return built; };
    92 	KdNode *getRootNode() const { return root; };
    92 	KdNode *getRootNode() const { return root; };
    93 	void setMaxDepth(int md) { max_depth = md; };
    93 	void setMaxDepth(int md) { max_depth = md; };
    94 
    94 
    95 	ostream & dump(ostream &st);
    95 	ostream & dump(ostream &st);
    96 	istream & load(istream &st);
    96 	istream & load(istream &st, Material *mat);
    97 };
    97 };
    98 
    98 
    99 #endif
    99 #endif