Revert App main to show sdl window
This commit is contained in:
parent
eb03252c02
commit
4b9411d73b
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user