| 779 | } |
| 780 | |
| 781 | Vector2 GetMouse2DPosition() |
| 782 | { |
| 783 | const auto& state = OisMouse->getMouseState(); |
| 784 | |
| 785 | auto areaRes = Vector2(state.width, state.height); |
| 786 | auto areaPos = Vector2(state.X.abs, state.Y.abs); |
| 787 | return (DISPLAY_SPACE_RES * (areaPos / areaRes)); |
| 788 | } |
| 789 | |
| 790 | void ClearAction(ActionID actionID) |
| 791 | { |
no test coverage detected