From bc797d4c8b5f8a7ac925ca8478dc5960907a81dd Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 17 Dec 2009 02:14:32 +0100 Subject: Moved Plane to MathUtil; some other tweaks --- src/zoom.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/zoom.cpp') diff --git a/src/zoom.cpp b/src/zoom.cpp index b222286..e5b0978 100644 --- a/src/zoom.cpp +++ b/src/zoom.cpp @@ -32,8 +32,7 @@ #include #endif -void resize(int width, int height) -{ +void resize(int width, int height) { if(height == 0) { height = 1; } @@ -180,13 +179,11 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine bool running = true; MSG msg; - while(running) - { + while(running) { unsigned long delta = 0; unsigned long ticks = GetTickCount(); - while(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) - { + while(PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) { if(msg.message == WM_QUIT) { running = false; -- cgit v1.2.3