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