mirror of
https://github.com/zhenyan121/SporeBG-Conid.git
synced 2026-04-10 06:14:08 +08:00
add CoordinateTools
This commit is contained in:
6
src/utils/CoordinateTools.h
Normal file
6
src/utils/CoordinateTools.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
#include <SDL3/SDL.h>
|
||||
#include <utility>
|
||||
|
||||
std::pair<int, int> physicalToLogical(const float screenX, const float screenY, SDL_Renderer* renderer);
|
||||
|
||||
Reference in New Issue
Block a user