template factories and template methods for ParticleSystem
Posted: Wed Sep 12, 2012 10:14 pm
hy I added commits to an extra branch that adds new template'd Factories for the ParticleSystem.
That removes the need to define the FactoryClasses yourself, so
addEmitterFactory(new BoxEmitterFactory) is replaced with addEmitterFactory<BoxEmitter>().
source:
https://bitbucket.org/Hanmac/ogre/chang ... evel%22%29
That removes the need to define the FactoryClasses yourself, so
addEmitterFactory(new BoxEmitterFactory) is replaced with addEmitterFactory<BoxEmitter>().
source:
https://bitbucket.org/Hanmac/ogre/chang ... evel%22%29