Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 19, 2009, 12:27:53 PM (15 years ago)
Author:
rgrieder
Message:

Optimisations in the pathway of the input. Nobody will ever notice the difference in performance (immeasurable), but I love the beauty of having all my template code inlined when it even decreases code size (because the code gets inlined exactly once).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core4/src/orxonox/gui/GUIManager.cc

    r3293 r3310  
    420420    void GUIManager::mouseMoved(IntVector2 abs, IntVector2 rel, IntVector2 clippingSize)
    421421    {
    422         guiSystem_->injectMouseMove(static_cast<float>(rel.x), static_cast<float>(rel.y));
     422        //guiSystem_->injectMouseMove(static_cast<float>(rel.x), static_cast<float>(rel.y));
     423        guiSystem_->injectMousePosition(static_cast<float>(abs.x), static_cast<float>(abs.y));
    423424    }
    424425    void GUIManager::mouseScrolled(int abs, int rel)
Note: See TracChangeset for help on using the changeset viewer.