[fixed]CParticleSphereEmitter
Posted: Sat Mar 12, 2011 5:29 pm
[Irrlicht v1.8.0]
I do not understand why I had no display when I defined a ParticleSphereEmiter.
In the file CParticleSphereEmitter.cpp, line 62:
I think it would rather write:
and there it works better. ![Wink ;)](./images/smilies/icon_wink.gif)
I do not understand why I had no display when I defined a ParticleSphereEmiter.
In the file CParticleSphereEmitter.cpp, line 62:
Code: Select all
// Random distance from center
const f32 distance = os::Randomizer::rand() * Radius;
Code: Select all
// Random distance from center
const f32 distance = os::Randomizer::frand() * Radius;
![Wink ;)](./images/smilies/icon_wink.gif)