Changed ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to avoid stooppid Win32 #define
This commit is contained in:
@@ -87,7 +87,7 @@ namespace osgParticle
|
||||
|
||||
inline void ForceOperator::beginOperate(Program *prg)
|
||||
{
|
||||
if (prg->getReferenceFrame() == ModularProgram::RELATIVE) {
|
||||
if (prg->getReferenceFrame() == ModularProgram::RELATIVE_RF) {
|
||||
xf_force_ = prg->rotateLocalToWorld(force_);
|
||||
} else {
|
||||
xf_force_ = force_;
|
||||
|
||||
Reference in New Issue
Block a user