Ignore:
Timestamp:
10/10/05 15:23:32 (19 years ago)
Author:
mattausch
Message:

queries are realized as templates

Location:
trunk/VUT/work/ogre_changes/OgreMain/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/work/ogre_changes/OgreMain/src/OgreRenderSystem.cpp

    r150 r316  
    6363        // instanciate RenderSystemCapabilities 
    6464        mCapabilities = new RenderSystemCapabilities(); 
    65  
    66 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    67                 mColour[0] = mColour[1] = mColour[2] = mColour[3] = 255; 
    68 #endif // GTP_VISIBILITY_MODIFIED_OGRE 
    6965    } 
    7066 
     
    420416        } 
    421417    } 
    422 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    423         // ------------------------------------------------------------------ 
    424         void RenderSystem::setColour(int r, int g, int b, int a) 
    425         { 
    426                 mColour[0] = r; 
    427                 mColour[1] = g; 
    428                 mColour[2] = b; 
    429                 mColour[3] = a; 
    430         } 
    431 #endif //  GTP_VISIBILITY_MODIFIED_OGRE 
    432418} 
    433419 
  • trunk/VUT/work/ogre_changes/OgreMain/src/OgreSceneManager.cpp

    r193 r316  
    42004200#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    42014201//----------------------------------------------------------------------- 
     4202Pass* SceneManager::setPassWrapper(Pass* pass) 
     4203{ 
     4204        return setPass(pass); 
     4205} 
     4206//----------------------------------------------------------------------- 
    42024207void SceneManager::_renderSceneNode(Camera *cam, SceneNode *node, const int leavePassesInQueue) 
    42034208{ 
     
    42594264        renderSingleObject(rend, pass, false); 
    42604265} 
     4266//----------------------------------------------------------------------- 
     4267void SceneManager::useRenderableViewProjModeWrapper(Renderable* pRend) 
     4268{ 
     4269        useRenderableViewProjMode(pRend); 
     4270} 
    42614271#endif //GTP_VISIBILITY_MODIFIED_OGRE 
    42624272} 
Note: See TracChangeset for help on using the changeset viewer.