Added support for primitive functor into the new osg::ProceduralGeometry class

This commit is contained in:
Robert Osfield
2002-11-01 15:12:51 +00:00
parent 92895370f7
commit bba03297a7
4 changed files with 581 additions and 72 deletions

View File

@@ -457,9 +457,7 @@ class SG_EXPORT Grid : public HeightField
META_Shape(osg,Grid)
void allocGrid(unsigned int numColumns,unsigned int numRows, float value=0.0f);
void populateGrid(float minValue,float maxValue);
void allocateGrid(unsigned int numColumns,unsigned int numRows);
void setHeight(unsigned int c,unsigned int r,float value)
{
@@ -486,7 +484,7 @@ class CompositeShape : public Shape
typedef std::vector< ref_ptr<Shape> > ChildList;
CompositeShape();
CompositeShape() {}
CompositeShape(const CompositeShape& cs,const CopyOp& copyop=CopyOp::SHALLOW_COPY):
Shape(cs,copyop),