From c7bd933a3ac8fa43c01aa7700c4ff2b172428dda Mon Sep 17 00:00:00 2001 From: Ricardo Antunes Date: Wed, 14 Feb 2024 14:19:47 +0000 Subject: [PATCH] docs(tesseratos): remove unnecessary camera --- tools/tesseratos/samples/main/main.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tools/tesseratos/samples/main/main.cpp b/tools/tesseratos/samples/main/main.cpp index 1a1d8b81c..bfa465176 100644 --- a/tools/tesseratos/samples/main/main.cpp +++ b/tools/tesseratos/samples/main/main.cpp @@ -40,16 +40,5 @@ int main(int argc, char** argv) input.bind(*bindings); }); - cubos.startupSystem("create a Camera").call([](ActiveCameras& camera, Commands cmds) { - camera.entities[0] = - cmds.create() - .add(Camera{.fovY = 60.0F, .zNear = 0.1F, .zFar = 1000.0F}) - .add(LocalToWorld{}) - .add(Position{{10.0F, 10.0F, 0.0F}}) - .add(Rotation{glm::quatLookAt(glm::vec3{-1.0F, -1.0F, 0.0F}, glm::vec3{0.0F, 1.0F, 0.0F})}) - .entity(); - cmds.create().add(LocalToWorld{}).add(Position{{3.0F, 3.0F, 0.0F}}).entity(); - }); - cubos.run(); }