- Timestamp:
- 10/24/04 22:04:00 (9 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgparticle/osgparticle.cpp
r3516 r3528 48 48 void beginOperate(osgParticle::Program *prg) 49 49 { 50 // we have to check whether the reference frame is relativeto parents50 // we have to check whether the reference frame is RELATIVE_RF to parents 51 51 // or it's absolute; in the first case, we must transform the vectors 52 52 // from local to world space. 53 if (prg->getReferenceFrame() == osgParticle::Program::RELATIVE ) {53 if (prg->getReferenceFrame() == osgParticle::Program::RELATIVE_RF) { 54 54 // transform the center point (full transformation) 55 55 xf_center_ = prg->transformLocalToWorld(center_);
