From 647e9c0cf53694b39abd24b74440c507cb8cda78 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 8 Nov 2005 18:23:10 +0000 Subject: Scale the camera rotation handles with the view size. git-svn-id: http://svn.leocad.org/trunk@438 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- common/project.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/project.cpp b/common/project.cpp index ae8ebb2..0a2418c 100644 --- a/common/project.cpp +++ b/common/project.cpp @@ -2864,7 +2864,7 @@ void Project::RenderOverlays(int Viewport) glEnd(); - const float OverlayCameraSquareSize = 8.0f; + const float OverlayCameraSquareSize = max(8.0f, (w+h)/200); // Draw squares. glBegin(GL_LINE_LOOP); -- cgit v1.2.3