aboutsummaryrefslogtreecommitdiff
path: root/Main.cpp
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2025-12-23 12:59:23 -0700
committerJosh Rahm <rahm@google.com>2025-12-23 12:59:23 -0700
commit46efbf05fcade8199035f956e20a63ca91fc88fd (patch)
tree9e3f3e297ea66e442e1a11b5ad16ad8ed6fc7fb7 /Main.cpp
parent306bb687414f54177eb37ab7cd744e491c397c31 (diff)
downloadSonsOfSol-46efbf05fcade8199035f956e20a63ca91fc88fd.tar.gz
SonsOfSol-46efbf05fcade8199035f956e20a63ca91fc88fd.tar.bz2
SonsOfSol-46efbf05fcade8199035f956e20a63ca91fc88fd.zip
Run clang-format and add .clang-format
Diffstat (limited to 'Main.cpp')
-rw-r--r--Main.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/Main.cpp b/Main.cpp
index 869ac06..d6ee2fb 100644
--- a/Main.cpp
+++ b/Main.cpp
@@ -4,15 +4,15 @@
* will be the base class for this */
#include "glox/GloxCommon.hpp"
#include "slox/SloxApplication.hpp"
-#include "slox/SloxTextureFactory.hpp"
#include "slox/SloxRawEventHandler.hpp"
+#include "slox/SloxTextureFactory.hpp"
#include "slox/events/SloxFunctionQuitListener.hpp"
-#include "glox/GloxViewport.hpp"
-#include "glox/GloxFirstPersonPerspective.hpp"
-#include "glox/objects/GloxTexturedCube.hpp"
#include "glox/GloxColor.hpp"
+#include "glox/GloxFirstPersonPerspective.hpp"
#include "glox/GloxLookAtPerspective.hpp"
+#include "glox/GloxViewport.hpp"
+#include "glox/objects/GloxTexturedCube.hpp"
#include "sons_of_sol/SonsOfSolApplication.hpp"
@@ -20,13 +20,13 @@ using namespace slox;
using namespace glox;
using namespace std;
-void exit( const SDL_QuitEvent& evt ) {
- (void) evt;
- exit( 0 );
+void exit(const SDL_QuitEvent& evt) {
+ (void)evt;
+ exit(0);
}
-int main ( int argc, char ** argv ) {
- SonsOfSolApplication game;
- game.run( argc, argv );
- return 0;
+int main(int argc, char** argv) {
+ SonsOfSolApplication game;
+ game.run(argc, argv);
+ return 0;
}