🌈 搜索
📅  最后修改于: 2022-03-11 14:57:21.954000             🧑  作者: Mango
x = floor(mouse_x/gridSize) * gridSize; y = floor(mouse_y/gridSize) * gridSize;