Revert App main to show sdl window

This commit is contained in:
Eero Holmala 2023-04-28 15:18:03 +03:00
parent eb03252c02
commit 4b9411d73b

View File

@ -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();
}