34 #ifndef MESH_VERTEXBUFFERNODE_H
35 #define MESH_VERTEXBUFFERNODE_H
38 #include "vertexBufferBase.h"
50 virtual Index getNumberOfVertices()
const
51 {
return _left->getNumberOfVertices()+_right->getNumberOfVertices();}
57 virtual void toStream( std::ostream& os );
60 virtual void setupTree(
VertexData& data,
const Index start,
61 const Index length,
const Axis axis,
64 virtual const BoundingSphere& updateBoundingSphere();
65 virtual void updateRange();
75 #endif // MESH_VERTEXBUFFERNODE_H
Holds the final kd-tree data, sorted and reindexed.
co::Object to distribute a model, holds a VertexBufferBase node.