14 virtual void init(osgUtil::LineSegmentIntersector::Intersection* intersection,
WG_Wall* curWall,
WG_Point* curPoint,
PointType type,
vrecko::EnvironmentObject* pEOOwner, std::vector<osg::ref_ptr<WG_Wall> >* walls, std::vector<osg::ref_ptr<WG_Point> >* points, osg::Geode* pOSGGeode, osg::Vec3Array* pOSGVertexArray) {
15 if (curWall != NULL) {
19 osg::Vec2 iPoint = osg::Vec2(intersection->getLocalIntersectPoint().x(), intersection->getLocalIntersectPoint().z());
40 newPoint->
setId(points->size());
41 points->push_back(newPoint);
43 newWall =
new WG_Wall(newPoint, R);
44 newWall->
setId(walls->size());
45 walls->push_back(newWall);