Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

testapp.cpp

Go to the documentation of this file.
00001 #include "SG_Node.h"
00002 
00003 int main(int argc,char** argv)

00004 {
00005 
00006         double apptime=0.5;
00007 
00008         SG_Node* parentnode = new SG_Node();
00009         parentnode->SetLocalPosition(MT_Point3(0,3,0));
00010         parentnode->SetLocalScale(MT_Vector3(2,2,2));
00011 
00012         SG_Node* childnode = new SG_Node();
00013         childnode->SetLocalPosition(MT_Point3(2,0,0));
00014         
00015         parentnode->AddChild(childnode);
00016         
00017         //Update Geometric State
00018         parentnode->UpdateGS(apptime,true);
00019 
00020 
00021 
00022         return 0;
00023 }

Generated at Thu Feb 1 13:03:12 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000