Changeset 86 for trunk/VUT/work/TestCulling/SceneContentGenerator.cpp
- Timestamp:
- 05/06/05 01:39:32 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/TestCulling/SceneContentGenerator.cpp
r85 r86 20 20 mMaxPos(Vector3(70.0f, 70.0f, 600.0f)), 21 21 mMinAngle(Vector3(0.0f, 0.0f, 0.0f)), 22 mMaxAngle(Vector3(360, 360, 360)) 22 mMaxAngle(Vector3(360, 360, 360)), 23 mScale(0.05, 0.05, 0.05) 23 24 { 24 25 } … … 67 68 68 69 currentObject->attachObject(ent); 69 currentObject->setScale( 0.1f, 0.1f, 0.1f);70 currentObject->setScale(mScale); 70 71 71 72 currentObject->yaw(Degree(rotation.x)); … … 106 107 return mCount; 107 108 } 109 //----------------------------------------------------------------------- 110 void SceneContentGenerator::SetScale(Vector3 scale) 111 { 112 mScale = scale; 113 } 108 114 } // namespace Ogre
Note: See TracChangeset
for help on using the changeset viewer.