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
template factories and template methods for ParticleSystem
-
Hanmac
- Gnoblar
- Posts: 13
- Joined: Wed May 25, 2011 12:41 pm
- x 4
-
Hanmac
- Gnoblar
- Posts: 13
- Joined: Wed May 25, 2011 12:41 pm
- x 4
Re: template factories and template methods for ParticleSyst
*dump* post because i think my work should get more attention ...