~saiarcot895/ubuntu/trusty/openscenegraph/armhf-support

« back to all changes in this revision

Viewing changes to OpenSceneGraph/examples/osgparticleeffects/osgparticleeffects.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-11-12 02:21:14 UTC
  • mfrom: (31.1.3 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20131112022114-qaxfhdnhn88vnh10
Tags: 3.2.0~rc1-1ubuntu1
Fix deprecated url_feof.

Show diffs side-by-side

added added

removed removed

Lines of Context:
268
268
    {
269
269
        osg::Group* root = dynamic_cast<osg::Group*>(viewer->getSceneData());       
270
270
        if (!root) return;
271
 
 
 
271
        
272
272
        osgUtil::LineSegmentIntersector::Intersections intersections;
273
 
        if (viewer->computeIntersections(ea.getX(),ea.getY(),intersections))
 
273
        if (viewer->computeIntersections(ea,intersections))
274
274
        {
275
275
            const osgUtil::LineSegmentIntersector::Intersection& hit = *intersections.begin();
276
276