| 629 | } |
| 630 | |
| 631 | osg::Array* cloneArray(osg::Array* array, osg::VertexBufferObject*& vbo, const osg::Geometry* geom) |
| 632 | { |
| 633 | array = static_cast<osg::Array*>(array->clone(osg::CopyOp::DEEP_COPY_ALL)); |
| 634 | if (!vbo) vbo = new osg::VertexBufferObject; |
| 635 | array->setVertexBufferObject(vbo); |
| 636 | return array; |
| 637 | } |
| 638 | |
| 639 | void Optimizer::FlattenStaticTransformsVisitor::apply(osg::Geometry& geometry) |
| 640 | { |
no test coverage detected