| 1073 | } |
| 1074 | |
| 1075 | void Input::warp_mouse(const Vector2 &p_position) { |
| 1076 | warp_mouse_func(p_position); |
| 1077 | } |
| 1078 | |
| 1079 | Point2 Input::warp_mouse_motion(const Ref<InputEventMouseMotion> &p_motion, const Rect2 &p_rect) { |
| 1080 | const Point2 rel_sign(p_motion->get_relative().x >= 0.0f ? 1 : -1, p_motion->get_relative().y >= 0.0 ? 1 : -1); |
no outgoing calls
no test coverage detected