[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Usata-commits] Changes to usata2/src/objects/top-nodes.cpp
From: |
David Lau |
Subject: |
[Usata-commits] Changes to usata2/src/objects/top-nodes.cpp |
Date: |
Sat, 15 Jan 2005 14:33:58 -0500 |
Index: usata2/src/objects/top-nodes.cpp
diff -u usata2/src/objects/top-nodes.cpp:1.6
usata2/src/objects/top-nodes.cpp:1.7
--- usata2/src/objects/top-nodes.cpp:1.6 Sat Jan 15 19:17:35 2005
+++ usata2/src/objects/top-nodes.cpp Sat Jan 15 19:33:57 2005
@@ -10,7 +10,7 @@
// included in the software distribution, or visit
// http://www.fsf.org/licenses/gpl.html.
//
-// $Id: top-nodes.cpp,v 1.6 2005/01/15 19:17:35 skunix Exp $
+// $Id: top-nodes.cpp,v 1.7 2005/01/15 19:33:57 skunix Exp $
#include "top-nodes.hpp"
@@ -88,10 +88,11 @@
using boost::bind;
using std::for_each;
// clear depth buffer
- glClear(GL_DEPTH_BUFFER_BIT);
+ glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT);
+ glEnable(GL_DEPTH_TEST);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
- gluPerspective(90, 640/480, 1.0, 10);
+ gluPerspective(90, 640/480, 0.01, 100);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
- [Usata-commits] Changes to usata2/src/objects/top-nodes.cpp, David Lau, 2005/01/03
- [Usata-commits] Changes to usata2/src/objects/top-nodes.cpp, David Lau, 2005/01/07
- [Usata-commits] Changes to usata2/src/objects/top-nodes.cpp, David Lau, 2005/01/09
- [Usata-commits] Changes to usata2/src/objects/top-nodes.cpp, David Lau, 2005/01/10
- [Usata-commits] Changes to usata2/src/objects/top-nodes.cpp, David Lau, 2005/01/15
- [Usata-commits] Changes to usata2/src/objects/top-nodes.cpp,
David Lau <=
- [Usata-commits] Changes to usata2/src/objects/top-nodes.cpp, David Lau, 2005/01/25
- [Usata-commits] Changes to usata2/src/objects/top-nodes.cpp, David Lau, 2005/01/25