Skip to content

Commit

Permalink
style(tesseratos): format Debug Camera plugin file
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomsmiranda committed Feb 1, 2024
1 parent 20f4053 commit 614b096
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/tesseratos/src/tesseratos/debug_camera/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ void tesseratos::debugCameraPlugin(Cubos& cubos)
cubos.addResource<DebugCameraInfo>();

cubos.startupSystem("create Debug Camera").call([](Commands commands, DebugCameraInfo& debugCamera) {
debugCamera.ent = commands.create().add(Camera{}).add(Position{{}}).add(cubos::engine::FreeCameraController{}).entity();
debugCamera.ent =
commands.create().add(Camera{}).add(Position{{}}).add(cubos::engine::FreeCameraController{}).entity();
});

cubos.system("show Debug Camera UI")
Expand Down

0 comments on commit 614b096

Please sign in to comment.