usata-commits
[Top][All Lists]
Advanced

[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: Tue, 25 Jan 2005 14:26:39 -0500

Index: usata2/src/objects/top-nodes.cpp
diff -u usata2/src/objects/top-nodes.cpp:1.8 
usata2/src/objects/top-nodes.cpp:1.9
--- usata2/src/objects/top-nodes.cpp:1.8        Tue Jan 25 08:28:27 2005
+++ usata2/src/objects/top-nodes.cpp    Tue Jan 25 19:26:33 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.8 2005/01/25 08:28:27 skunix Exp $
+// $Id: top-nodes.cpp,v 1.9 2005/01/25 19:26:33 skunix Exp $
 
 
 #include "top-nodes.hpp"
@@ -88,14 +88,16 @@
        using boost::bind;
        using std::for_each;
        // clear depth buffer
-       glClearColor(0.1,.1,0.1,0);
+       glClearColor(0.6,.1,0.1,0);
        glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT);
 
        
        glEnable(GL_DEPTH_TEST);
        glMatrixMode(GL_PROJECTION);
        glLoadIdentity();
-       gluPerspective(90, 640/480, 0.01, 100);
+//     gluPerspective(90, 640.0/480.0, 0.01, 100);
+
+       glOrtho(-1,1,1,-1,0.1,10);
 
        glMatrixMode(GL_MODELVIEW);
        glLoadIdentity();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]