Bug fix: fixed time to correct resolution, seconds.

This commit is contained in:
Stiffly
2014-04-23 22:46:19 +02:00
parent 100f8f5be4
commit 07bc49e3c1
3 changed files with 17 additions and 16 deletions
+3 -3
View File
@@ -49,7 +49,7 @@ void GameWorld::Initialize()
model->ModelFile = "Models/Placeholders/tank/Chassi.obj";
}
for(int i = 0; i < 83; i++)
for(int i = 0; i < 2; i++)
{
auto light = CreateEntity();
auto transform = AddComponent<Components::Transform>(light, "Transform");
@@ -67,7 +67,7 @@ void GameWorld::Initialize()
model->ModelFile = "Models/Placeholders/PhysicsTest/PointLight.obj";
}
for(int i = 0; i < 500; i++)
for(int i = 0; i < 3; i++)
{
auto ball = CreateEntity();
auto transform = AddComponent<Components::Transform>(ball, "Transform");
@@ -100,7 +100,7 @@ void GameWorld::Initialize()
emitter->LifeTime = 4;
emitter->SpawnCount = 3;
emitter->SpreadAngle = 35;
emitter->SpawnFrequency = 0.3;
emitter->SpawnFrequency = 0.01;
//emitter->
}
}