Changeset 13041 for OpenSceneGraph/trunk/src/osgWrappers/deprecated-dotosg/osgParticle/IO_ExplosionOperator.cpp
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgWrappers/deprecated-dotosg/osgParticle/IO_ExplosionOperator.cpp
r12292 r13041 35 35 } 36 36 } 37 37 38 38 float value = 0.0f; 39 39 if (fr[0].matchWord("radius")) { … … 44 44 } 45 45 } 46 46 47 47 if (fr[0].matchWord("magnitude")) { 48 48 if (fr[1].getFloat(value)) { … … 52 52 } 53 53 } 54 54 55 55 if (fr[0].matchWord("epsilon")) { 56 56 if (fr[1].getFloat(value)) { … … 60 60 } 61 61 } 62 62 63 63 if (fr[0].matchWord("sigma")) { 64 64 if (fr[1].getFloat(value)) { … … 77 77 osg::Vec3 a = ep.getCenter(); 78 78 fw.indent() << "center " << a.x() << " " << a.y() << " " << a.z() << std::endl; 79 79 80 80 fw.indent() << "radius " << ep.getRadius() << std::endl; 81 81 fw.indent() << "magnitude " << ep.getMagnitude() << std::endl;
