OS Windows support

master
Vectozavr 2021-10-03 12:38:10 +07:00
parent 4997202edc
commit 58535b1dd7
4 changed files with 3 additions and 2 deletions

View File

@ -5,8 +5,6 @@
#ifndef SHOOTER_CLIENT_H #ifndef SHOOTER_CLIENT_H
#define SHOOTER_CLIENT_H #define SHOOTER_CLIENT_H
#include <utility>
#include "network/ClientUDP.h" #include "network/ClientUDP.h"
#include "Player.h" #include "Player.h"

View File

@ -5,6 +5,7 @@
#ifndef SHOOTER_MOUSE_H #ifndef SHOOTER_MOUSE_H
#define SHOOTER_MOUSE_H #define SHOOTER_MOUSE_H
#include <memory>
#include <SFML/Graphics.hpp> #include <SFML/Graphics.hpp>
#include "utils/Point4D.h" #include "utils/Point4D.h"

View File

@ -7,6 +7,7 @@
#include <vector> #include <vector>
#include <memory> #include <memory>
#include <functional>
#include "../utils/Point4D.h" #include "../utils/Point4D.h"
#include "../Triangle.h" #include "../Triangle.h"
#include "Simplex.h" #include "Simplex.h"

View File

@ -14,6 +14,7 @@ private:
public: public:
Point4D () = default; Point4D () = default;
Point4D (const Point4D& point4D); 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); explicit Point4D (double x, double y = 0.0, double z = 0.0, double w = 0.0);
[[nodiscard]] double x() const { return _arr_point[0]; } [[nodiscard]] double x() const { return _arr_point[0]; }