]> git.localhorst.tv Git - blank.git/blobdiff - src/app.cpp
noexcept all the things
[blank.git] / src / app.cpp
index 6a87042cffe553f621939e944bd6d81c37b5a39c..21f5bcf981ae575bc994f4fb049e5e6a4c5ce900 100644 (file)
@@ -30,7 +30,7 @@ Application::Application(const Config &config)
 Entity &Application::MakeTestEntity(World &world) {
        Entity &e = world.AddEntity();
        e.Position({ 0.0f, 0.0f, 0.0f });
-       e.SetShape(world.BlockTypes()[1]->shape, { 1.0f, 1.0f, 0.0f });
+       e.SetShape(world.BlockTypes()[1].shape, { 1.0f, 1.0f, 0.0f });
        e.AngularVelocity(glm::quat(glm::vec3{ 0.00001f, 0.000006f, 0.000013f }));
        return e;
 }