fixed culling bug in ortho views

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@25 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
spog 2006-02-25 21:03:36 +00:00
parent d0cf6ff0a1
commit 24230bb3a8
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,10 @@
This is the changelog for developers, != changelog for the end user
that we distribute with the binaries. (see changelog)
25/02/2006
SPoG
- Fixed objects sometimes dissappearing when at high zoom level in Ortho views.
24/02/2006
SPoG
- Added GPL text to win32 installer.

View File

@ -2133,7 +2133,7 @@ void XYWnd::updateModelview()
m_modelview[8] = 0;
m_modelview[9] = 0;
m_modelview[10] = -m_fScale;
m_modelview[10] = -1.0;
break;
case XZ:
m_modelview[0] = m_fScale;
@ -2142,7 +2142,7 @@ void XYWnd::updateModelview()
m_modelview[4] = 0;
m_modelview[5] = 0;
m_modelview[6] = m_fScale;
m_modelview[6] = 1.0;
m_modelview[8] = 0;
m_modelview[9] = m_fScale;
@ -2151,7 +2151,7 @@ void XYWnd::updateModelview()
case YZ:
m_modelview[0] = 0;
m_modelview[1] = 0;
m_modelview[2] = -m_fScale;
m_modelview[2] = -1.0;
m_modelview[4] = m_fScale;
m_modelview[5] = 0;