Changeset 158 for trunk/VUT/work/ogre_changes/OgreMain
- Timestamp:
- 07/06/05 11:04:25 (20 years ago)
- Location:
- trunk/VUT/work/ogre_changes/OgreMain
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/ogre_changes/OgreMain/include/OgreRenderable.h
r153 r158 227 227 } 228 228 } 229 /** Sets an id for this renderable. 230 */ 229 231 void setId(int id) {mId = id;} 232 /** see set 233 */ 230 234 int getId() {return mId;} 231 235 -
trunk/VUT/work/ogre_changes/OgreMain/include/OgreSceneNode.h
r154 r158 444 444 void setLastRendered(int frameid); 445 445 446 /** Sets scene node id447 @param the id448 */449 void setId(int id);450 /** see set */451 int getId(void);452 453 446 protected: 454 447 int mLastVisited; -
trunk/VUT/work/ogre_changes/OgreMain/src/OgreSceneNode.cpp
r154 r158 42 42 mYawFixed(false), mAutoTrackTarget(0), mIsInSceneGraph(false) 43 43 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 44 , mLastVisited(0), mVisible(false), mLastRendered(-1) , mId(-1)44 , mLastVisited(0), mVisible(false), mLastRendered(-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) , mId(-1)55 , mLastVisited(0), mVisible(false) 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 }653 643 #endif //GTP_VISIBILITY_MODIFIED_OGRE 654 644 }
Note: See TracChangeset
for help on using the changeset viewer.