----------------------------------------------------------------------- Local class for updating based on time
| 67 | //----------------------------------------------------------------------- |
| 68 | // Local class for updating based on time |
| 69 | class ParticleSystemUpdateValue : public ControllerValue<Real> |
| 70 | { |
| 71 | protected: |
| 72 | ParticleSystem *mTarget; |
| 73 | |
| 74 | public: |
| 75 | ParticleSystemUpdateValue( ParticleSystem *target ) : mTarget( target ) {} |
| 76 | |
| 77 | Real getValue() const override { return 0; } // N/A |
| 78 | |
| 79 | void setValue( Real value ) override { mTarget->_update( value ); } |
| 80 | }; |
| 81 | |
| 82 | class ParticleSystemUpdateValueDeterministic : public ControllerValue<Real> |
| 83 | { |