Show
Ignore:
Timestamp:
10/22/04 21:26:45 (10 years ago)
Author:
robert
Message:

Changed the ReferenceFrame? enums to be RELEATIVE and ABSOLUTE, and
deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgparticle/osgparticle.cpp

    r1949 r3516  
    5151                // or it's absolute; in the first case, we must transform the vectors 
    5252                // from local to world space. 
    53                 if (prg->getReferenceFrame() == osgParticle::Program::RELATIVE_TO_PARENTS) { 
     53                if (prg->getReferenceFrame() == osgParticle::Program::RELATIVE) { 
    5454                        // transform the center point (full transformation) 
    5555                        xf_center_ = prg->transformLocalToWorld(center_);