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
00018 parentnode->UpdateGS(apptime,true);
00019
00020
00021
00022 return 0;
00023 }