25 #ifndef WGESUBDIVIDEDPLANE_H
26 #define WGESUBDIVIDEDPLANE_H
Represents a plane which is subdivided into quads where each quad primitive is colorable.
void setCenterArray(osg::ref_ptr< osg::Vec3Array > centers)
For each quad primitive, the center point is computed and stored in m_quadCenters.
osg::ref_ptr< const osg::Vec3Array > getCenterArray() const
Gives the reference to the centerpoints of the quads this plane is representing.
osg::ref_ptr< osg::Vec3Array > m_quadCenters
Stores the center points of each quad.