Vattnet fungerar nu igen.
This commit is contained in:
+1
-15
@@ -198,21 +198,7 @@ public:
|
||||
}
|
||||
|
||||
//ParticleTest
|
||||
{
|
||||
Events::CreateParticleSequence e;
|
||||
e.Position = glm::vec3(0.f, 0.f, -10.f);
|
||||
e.SpriteFile = "Textures/Background.png";
|
||||
e.GravityScale = 0.0f;
|
||||
e.SpawnRate = 1.f;
|
||||
e.NumberOfTicks = 2;
|
||||
e.Speed = 1.f;
|
||||
e.ParticlesPerTick = 5;
|
||||
e.Spread = glm::pi<float>() * 2;
|
||||
e.EmittingAngle = glm::pi<float>();
|
||||
e.EmitterLifeTime = 50;
|
||||
e.ParticleLifeTime = 3.f;
|
||||
m_EventBroker->Publish(e);
|
||||
}
|
||||
|
||||
|
||||
/*{
|
||||
auto Pe = m_World->CreateEntity();
|
||||
|
||||
Reference in New Issue
Block a user