Fakken filters.

This commit is contained in:
2014-03-03 20:20:16 +01:00
parent 1b135fb525
commit fd20b66a77
2 changed files with 42 additions and 112 deletions
-20
View File
@@ -17,26 +17,6 @@ GLchar* glVendor;
int main(int argc, char* argv[])
{
World world;
EntityID ent1 = world.CreateEntity();
auto t1 = world.AddComponent<Components::Transform>(ent1, "Transform");
t1->Position[0] = 1.0f;
t1->Position[1] = 1.0f;
t1->Position[2] = 1.0f;
EntityID ent2 = world.CreateEntity(ent1);
auto t2 = world.AddComponent<Components::Transform>(ent2, "Transform");
t2->Position[0] = 1.0f;
t2->Position[1] = 1.0f;
t2->Position[2] = 1.0f;
world.Update(0.0);
LOG_INFO("ent1: %f %f %f", t1->Position[0], t1->Position[1], t1->Position[2]);
LOG_INFO("ent2: %f %f %f", t2->Position[0], t2->Position[1], t2->Position[2]);
return 0;
// Initialize GLFW
if (!glfwInit())
{