Changeset 4485 in orxonox.OLD for orxonox/trunk/src/util/state.cc
- Timestamp:
- Jun 3, 2005, 12:19:43 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/state.cc
r4381 r4485 42 42 43 43 /** 44 \returns a Pointer to this Class45 */46 State* State::getInstance(void)47 {48 if (!State::singletonRef)49 State::singletonRef = new State();50 return State::singletonRef;51 }52 53 /**54 44 \brief standard deconstructor 55 56 45 */ 57 46 State::~State () … … 62 51 63 52 /** 64 \ sets camera and target of the current Camera53 \brief sets camera and target of the current Camera 65 54 */ 66 55 void State::setCamera(const PNode* camera, const PNode* cameraTarget)
Note: See TracChangeset
for help on using the changeset viewer.