mirror of
https://github.com/zhenyan121/SporeBG-Conid.git
synced 2026-04-10 06:14:08 +08:00
refactor: replace pair with vec2
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#pragma once
|
||||
#include <utility>
|
||||
#include <glm/glm.hpp>
|
||||
struct InputState
|
||||
{
|
||||
std::pair<float, float> mouseCilckOn;
|
||||
glm::vec2 mouseCilckOn;
|
||||
bool leftMouseDown = false;
|
||||
std::pair<float, float> mouseCurrentPosition;
|
||||
std::pair<int, int> mouseCurrentLogicalPosition;
|
||||
glm::vec2 mouseCurrentPosition;
|
||||
glm::ivec2 mouseCurrentLogicalPosition;
|
||||
bool isFullscreen = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user