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/test_object.cpp


From: David Lau
Subject: [Usata-commits] Changes to usata2/src/objects/test_object.cpp
Date: Mon, 10 Jan 2005 15:41:46 -0500

Index: usata2/src/objects/test_object.cpp
diff -u usata2/src/objects/test_object.cpp:1.8 
usata2/src/objects/test_object.cpp:1.9
--- usata2/src/objects/test_object.cpp:1.8      Sun Jan  9 09:39:57 2005
+++ usata2/src/objects/test_object.cpp  Mon Jan 10 20:10:21 2005
@@ -10,7 +10,7 @@
 // included in the software distribution, or visit
 // http://www.fsf.org/licenses/gpl.html.
 //
-// $Id: test_object.cpp,v 1.8 2005/01/09 09:39:57 skunix Exp $
+// $Id: test_object.cpp,v 1.9 2005/01/10 20:10:21 skunix Exp $
 
 #include "../object.hpp"
 #include "../object-registry.hpp"
@@ -47,15 +47,14 @@
        {
                glBegin(GL_TRIANGLES);
                glVertex3f(1.0, 0.0, -1.0);
-               glVertex3f(1.0, -0.5, -1.0);
+               glVertex3f(1.0, -0.2, -1.0);
                glVertex3f(0, -0.5 ,-1.0);
                glEnd();
        }
        void
        Something::realize(Usata& game, const Object_sp& self)
        {
-               std::string p("gui");
-               game.scene().add_child(self, p);
+               game.scene().add(self, "gui");
        }
 
        USATA_OBJECT_REGISTER(Something)




reply via email to

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