Ignore:
Timestamp:
05/06/05 01:39:32 (19 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/work/TestCulling/SceneContentGenerator.cpp

    r85 r86  
    2020mMaxPos(Vector3(70.0f, 70.0f, 600.0f)),  
    2121mMinAngle(Vector3(0.0f, 0.0f, 0.0f)), 
    22 mMaxAngle(Vector3(360, 360, 360)) 
     22mMaxAngle(Vector3(360, 360, 360)), 
     23mScale(0.05, 0.05, 0.05) 
    2324{ 
    2425} 
     
    6768 
    6869        currentObject->attachObject(ent); 
    69         currentObject->setScale(0.1f, 0.1f, 0.1f); 
     70        currentObject->setScale(mScale); 
    7071                 
    7172        currentObject->yaw(Degree(rotation.x)); 
     
    106107        return mCount; 
    107108} 
     109//----------------------------------------------------------------------- 
     110void SceneContentGenerator::SetScale(Vector3 scale) 
     111{ 
     112        mScale = scale; 
     113} 
    108114} // namespace Ogre 
Note: See TracChangeset for help on using the changeset viewer.