Changed the ReferenceFrame enums to be RELEATIVE and ABSOLUTE, and
deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS.
This commit is contained in:
@@ -87,7 +87,7 @@ namespace osgParticle
|
||||
|
||||
inline void ForceOperator::beginOperate(Program *prg)
|
||||
{
|
||||
if (prg->getReferenceFrame() == ModularProgram::RELATIVE_TO_PARENTS) {
|
||||
if (prg->getReferenceFrame() == ModularProgram::RELATIVE) {
|
||||
xf_force_ = prg->rotateLocalToWorld(force_);
|
||||
} else {
|
||||
xf_force_ = force_;
|
||||
|
||||
Reference in New Issue
Block a user