Changeset 1116 for GTP/trunk/App/Demos/Geom/Demo_LodTrees
- Timestamp:
- 07/11/06 13:21:05 (19 years ago)
- Location:
- GTP/trunk/App/Demos/Geom/Demo_LodTrees
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Geom/Demo_LodTrees/main.cpp
r1113 r1116 300 300 auxnode->attachObject( entity->clone(newTreeName) ); 301 301 auxnode->scale(4.0f,4.0f,4.0f); 302 auxnode->rotate(Ogre::Vector3(1,0,0),Ogre::Radian(-3.14159f*0.5f)); 302 auxnode->rotate(Ogre::Vector3(0,0,1),Ogre::Degree(rand()%360)); 303 auxnode->rotate(Ogre::Vector3(1,0,0),Ogre::Radian(-3.14159f*0.5f),Ogre::Node::TS_WORLD); 303 304 float randomsepx = (float)((rand()%18)-9); 304 305 float randomsepy = (float)((rand()%12)-6);
Note: See TracChangeset
for help on using the changeset viewer.