Fixed glitch in box emitters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
fc19059006
commit
e627ccc8f8
@ -82,7 +82,7 @@ ParticleEmitter::ParticleEmitter(ParticleKind* type, core::vector3df position,
|
||||
const float box_z = type->getBoxSizeZ()/2.0f;
|
||||
m_node->setPosition(core::vector3df(position.X + box_x, position.Y + box_y, position.Z + box_z));
|
||||
m_emitter = m_node->createBoxEmitter(core::aabbox3df(-box_x, -box_y, -box_z,
|
||||
box_x, box_x, box_x),
|
||||
box_x, box_y, box_z),
|
||||
core::vector3df(0.0f, 0.0f, 0.0f), // velocity in m/ms
|
||||
type->getMinRate(), type->getMaxRate(),
|
||||
type->getMinColor(), type->getMaxColor(),
|
||||
|
Loading…
Reference in New Issue
Block a user