From 58535b1dd7e1516310ad60b5c982b61ae3894bbc Mon Sep 17 00:00:00 2001 From: Vectozavr <60608292+vectozavr@users.noreply.github.com> Date: Sun, 3 Oct 2021 12:38:10 +0700 Subject: [PATCH] OS Windows support --- Client.h | 2 -- engine/Mouse.h | 1 + engine/physics/RigidBody.h | 1 + engine/utils/Point4D.h | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Client.h b/Client.h index e6f51fd..5aa71a8 100755 --- a/Client.h +++ b/Client.h @@ -5,8 +5,6 @@ #ifndef SHOOTER_CLIENT_H #define SHOOTER_CLIENT_H -#include - #include "network/ClientUDP.h" #include "Player.h" diff --git a/engine/Mouse.h b/engine/Mouse.h index 81d7cea..e88b6ba 100644 --- a/engine/Mouse.h +++ b/engine/Mouse.h @@ -5,6 +5,7 @@ #ifndef SHOOTER_MOUSE_H #define SHOOTER_MOUSE_H +#include #include #include "utils/Point4D.h" diff --git a/engine/physics/RigidBody.h b/engine/physics/RigidBody.h index fa851c9..2caca2b 100755 --- a/engine/physics/RigidBody.h +++ b/engine/physics/RigidBody.h @@ -7,6 +7,7 @@ #include #include +#include #include "../utils/Point4D.h" #include "../Triangle.h" #include "Simplex.h" diff --git a/engine/utils/Point4D.h b/engine/utils/Point4D.h index 1d22ae3..422c1a7 100755 --- a/engine/utils/Point4D.h +++ b/engine/utils/Point4D.h @@ -14,6 +14,7 @@ private: public: Point4D () = default; Point4D (const Point4D& point4D); + Point4D& operator=(const Point4D& point4D) { _arr_point = point4D._arr_point; return *this; }; explicit Point4D (double x, double y = 0.0, double z = 0.0, double w = 0.0); [[nodiscard]] double x() const { return _arr_point[0]; }