Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 57


Ignore:
Timestamp:
Oct 16, 2007, 11:03:25 PM (17 years ago)
Author:
anonymous
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tutorial/Tutorial/src/main.cpp

    r36 r57  
    4747        // add tutorial code here:
    4848        // ...
    49         mSceneMgr->setAmbientLight( ColourValue( 1, 1, 1 ) );
    50         Entity *ent1 = mSceneMgr->createEntity( "Robot", "robot.mesh" );
    51         SceneNode *node1 = mSceneMgr->getRootSceneNode()->createChildSceneNode( "RobotNode" );
    52         node1->attachObject( ent1 );
    53 
    54         Entity *ent2 = mSceneMgr->createEntity( "Robot2", "robot.mesh" );
    55         SceneNode *node2 = mSceneMgr->getRootSceneNode()->createChildSceneNode( "RobotNode2", Vector3( 50, 0, 0 ) );
    56         node2->attachObject( ent2 );
    57 
    5849
    5950    }
Note: See TracChangeset for help on using the changeset viewer.