Ignore:
Timestamp:
07/06/05 11:04:25 (19 years ago)
Author:
mattausch
Message:

removed node visibility for item buffer

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  
    227227            } 
    228228        } 
     229                /** Sets an id for this renderable. 
     230                */ 
    229231                void setId(int id) {mId = id;} 
     232                /** see set  
     233                */ 
    230234                int getId() {return mId;} 
    231235 
  • trunk/VUT/work/ogre_changes/OgreMain/include/OgreSceneNode.h

    r154 r158  
    444444                void setLastRendered(int frameid); 
    445445 
    446                 /** Sets scene node id  
    447                 @param the id 
    448                 */ 
    449                 void setId(int id); 
    450                 /** see set */ 
    451                 int getId(void); 
    452  
    453446        protected: 
    454447                int mLastVisited; 
  • trunk/VUT/work/ogre_changes/OgreMain/src/OgreSceneNode.cpp

    r154 r158  
    4242        mYawFixed(false), mAutoTrackTarget(0), mIsInSceneGraph(false) 
    4343#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    44         , mLastVisited(0), mVisible(false), mLastRendered(-1), mId(-1) 
     44        , mLastVisited(0), mVisible(false), mLastRendered(-1) 
    4545#endif //GTP_VISIBILITY_MODIFIED_OGRE 
    4646    { 
     
    5353        mAutoTrackTarget(0), mIsInSceneGraph(false) 
    5454        #ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    55         , mLastVisited(0), mVisible(false), mId(-1) 
     55        , mLastVisited(0), mVisible(false) 
    5656        #endif //GTP_VISIBILITY_MODIFIED_OGRE 
    5757    { 
     
    641641                mLastRendered = frameid; 
    642642        } 
    643         //----------------------------------------------------------------------- 
    644         void SceneNode::setId(int id) 
    645         { 
    646                 mId = id; 
    647         } 
    648         //----------------------------------------------------------------------- 
    649         int SceneNode::getId(void) 
    650         { 
    651                 return mId; 
    652         } 
    653643        #endif //GTP_VISIBILITY_MODIFIED_OGRE 
    654644} 
Note: See TracChangeset for help on using the changeset viewer.