fix(macos): Mouse input broken in-game (#2550)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <optional>
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <type_traits>
|
||||
@@ -940,6 +941,16 @@ namespace util {
|
||||
return std::string_view((const char *) &data, sizeof(T));
|
||||
}
|
||||
|
||||
struct point_t {
|
||||
double x;
|
||||
double y;
|
||||
|
||||
friend std::ostream &
|
||||
operator<<(std::ostream &os, const point_t &p) {
|
||||
return (os << "Point(x: " << p.x << ", y: " << p.y << ")");
|
||||
}
|
||||
};
|
||||
|
||||
namespace endian {
|
||||
template <class T = void>
|
||||
struct endianness {
|
||||
|
||||
Reference in New Issue
Block a user