|
|
@ -113,6 +113,7 @@ void RippleSimulation::update(float dt, Ogre::Vector2 position)
|
|
|
|
position.z = 0; // Z is set by the Scene Node
|
|
|
|
position.z = 0; // Z is set by the Scene Node
|
|
|
|
rotSpeed = mRippleRotSpeed;
|
|
|
|
rotSpeed = mRippleRotSpeed;
|
|
|
|
rotation = Ogre::Radian(Ogre::Math::RangeRandom(-Ogre::Math::PI, Ogre::Math::PI));
|
|
|
|
rotation = Ogre::Radian(Ogre::Math::RangeRandom(-Ogre::Math::PI, Ogre::Math::PI));
|
|
|
|
|
|
|
|
created->setDimensions(mParticleSystem->getDefaultWidth(), mParticleSystem->getDefaultHeight());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|