--------------------------------- InputManager::OnMouseMoved updates the cursor position and velocity
| 112 | // updates the cursor position and velocity |
| 113 | // |
| 114 | void InputManager::OnMouseMoved(ivec2 const& mousePos) |
| 115 | { |
| 116 | vec2 newMouse = math::vecCast<float>(mousePos); |
| 117 | m_MouseMove = newMouse - m_MousePos; |
| 118 | m_MousePos = newMouse; |
| 119 | } |
| 120 | |
| 121 | //--------------------------------- |
| 122 | // InputManager::SetMouseWheelDelta |