From 6a6404f73d812c94864455112ccb65dcdd048691 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Thu, 31 Oct 2013 22:47:06 -0700 Subject: [PATCH] Removed nonsense code. --- examples/common/entry/input.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/examples/common/entry/input.cpp b/examples/common/entry/input.cpp index bd43b2c54..dccbd8154 100644 --- a/examples/common/entry/input.cpp +++ b/examples/common/entry/input.cpp @@ -49,20 +49,6 @@ struct Mouse m_buttons[_button] = _state; } - void read(bool _mouseLock) - { - if (_mouseLock != m_lock) - { - m_lock = _mouseLock; - - if (_mouseLock) - { - m_norm[0] = 0.0f; - m_norm[1] = 0.0f; - } - } - } - int32_t m_absolute[2]; float m_norm[2]; int32_t m_wheel; @@ -166,8 +152,6 @@ struct Input void process() { - m_mouse.read(m_mouse.m_lock); - for (InputBindingMap::const_iterator it = m_inputBindingsMap.begin(); it != m_inputBindingsMap.end(); ++it) { process(it->second);