Changeset 154 for trunk/VUT/work/ogre_changes/OgreMain
- Timestamp:
- 07/04/05 17:57:51 (20 years ago)
- Location:
- trunk/VUT/work/ogre_changes/OgreMain
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/ogre_changes/OgreMain/include/OgreSceneNode.h
r61 r154 444 444 void setLastRendered(int frameid); 445 445 446 /** Sets scene node id 447 @param the id 448 */ 449 void setId(int id); 450 /** see set */ 451 int getId(void); 452 446 453 protected: 447 454 int mLastVisited; 448 455 bool mVisible; 449 456 int mLastRendered; 450 457 int mId; 451 458 #endif //GTP_VISIBILITY_MODIFIED_OGRE 452 459 -
trunk/VUT/work/ogre_changes/OgreMain/src/OgreSceneNode.cpp
r61 r154 42 42 mYawFixed(false), mAutoTrackTarget(0), mIsInSceneGraph(false) 43 43 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 44 , mLastVisited(0), mVisible(false), mLastRendered(-1) 44 , mLastVisited(0), mVisible(false), mLastRendered(-1), mId(-1) 45 45 #endif //GTP_VISIBILITY_MODIFIED_OGRE 46 46 { … … 53 53 mAutoTrackTarget(0), mIsInSceneGraph(false) 54 54 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 55 , mLastVisited(0), mVisible(false) 55 , mLastVisited(0), mVisible(false), mId(-1) 56 56 #endif //GTP_VISIBILITY_MODIFIED_OGRE 57 57 { … … 641 641 mLastRendered = frameid; 642 642 } 643 //----------------------------------------------------------------------- 644 void SceneNode::setId(int id) 645 { 646 mId = id; 647 } 648 //----------------------------------------------------------------------- 649 int SceneNode::getId(void) 650 { 651 return mId; 652 } 643 653 #endif //GTP_VISIBILITY_MODIFIED_OGRE 644 654 }
Note: See TracChangeset
for help on using the changeset viewer.