Mouse Mouse::scaleMouse(const AABB2D& cam) const noexcept { Mouse temp = *this; float camWidth = cam.width(); temp.position = cam.min + (temp.position * camWidth); temp.motion = temp.motion * camWidth; return temp; }