refactor: replace pair with vec2

This commit is contained in:
2026-02-07 09:13:40 +08:00
parent fedef3dd1d
commit 6e71397940
13 changed files with 44 additions and 28 deletions

View File

@@ -92,7 +92,7 @@ public:
* @param clickOn 点击位置坐标对 {x, y}
* @details 将点击事件转发给当前场景的 handleClick() 方法进行处理
*/
void handleClickCurrent(std::pair<int, int> clickOn);
void handleClickCurrent(glm::ivec2 clickOn);