- Timestamp:
- 03/17/08 13:23:06 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgparticleeffects/osgparticleeffects.cpp
r6941 r7964 95 95 positioned->addChild(glider); 96 96 97 osg::PositionAttitudeTransform* xform = new osg::PositionAttitudeTransform; 97 osg::PositionAttitudeTransform* xform = new osg::PositionAttitudeTransform; 98 xform->setDataVariance(osg::Object::DYNAMIC); 98 99 xform->getOrCreateStateSet()->setMode(GL_NORMALIZE, osg::StateAttribute::ON); 99 100 xform->setUpdateCallback(new osg::AnimationPathCallback(animationPath,0.0,0.5)); … … 120 121 121 122 osg::MatrixTransform* xform = new osg::MatrixTransform; 123 xform->setDataVariance(osg::Object::DYNAMIC); 122 124 xform->setUpdateCallback(new osg::AnimationPathCallback(animationPath,0.0f,1.0)); 123 125 xform->addChild(positioned);
