Ignore:
Timestamp:
07/11/06 13:21:05 (19 years ago)
Author:
gumbau
Message:
 
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  
    300300                                auxnode->attachObject( entity->clone(newTreeName) ); 
    301301                                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); 
    303304                                float randomsepx = (float)((rand()%18)-9); 
    304305                                float randomsepy = (float)((rand()%12)-6); 
Note: See TracChangeset for help on using the changeset viewer.