From 4b9411d73b4e806daee46c074dc05bc60c7a70c8 Mon Sep 17 00:00:00 2001 From: Eero Holmala Date: Fri, 28 Apr 2023 15:18:03 +0300 Subject: [PATCH] Revert App main to show sdl window --- App/App/src/main.cpp | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/App/App/src/main.cpp b/App/App/src/main.cpp index 5f435cc..02927d7 100644 --- a/App/App/src/main.cpp +++ b/App/App/src/main.cpp @@ -7,18 +7,6 @@ using namespace std; int main(int argc, char const *argv[]) { - // App::App* app = new App::App(); - // return app->getReturnCode(); - Vector2 v1(1, 1.5); - Vector2 v2(3, -2); - Vector2 res = v1 + v2; - cout << res.x << ", " << res.y << endl; - res = v1 - v2; - cout << res.x << ", " << res.y << endl; - res = v1 * v2; - cout << res.x << ", " << res.y << endl; - res = v1 / v2; - cout << res.x << ", " << res.y << endl; - - return 0; + App::App* app = new App::App(); + return app->getReturnCode(); }