Добавил возможность вращать камерой
CMake on a single platform / build (pull_request) Successful in 1m30s
CMake on a single platform / build (pull_request) Successful in 1m30s
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "Game/SaveMap/SaveMap.hpp"
|
||||
|
||||
Vector2D::Vector2D(const double x, const double y) : x(x), y(y)
|
||||
Vector2D::Vector2D(double x, double y) : x(x), y(y)
|
||||
{}
|
||||
|
||||
Vector2D::Vector2D(const Vector3D& vec3D) : x(vec3D.x), y(vec3D.y)
|
||||
@@ -31,7 +31,7 @@ void Vector2D::load(std::shared_ptr<SaveMap> save)
|
||||
y = save->GetDouble("y");
|
||||
}
|
||||
|
||||
Vector3D::Vector3D(const double x, const double y, const double z) : x(x), y(y), z(z)
|
||||
Vector3D::Vector3D(double x, double y, double z) : x(x), y(y), z(z)
|
||||
{}
|
||||
|
||||
Vector3D::Vector3D(const Vector2D& vec2D) : x(vec2D.x), y(vec2D.y)
|
||||
|
||||
Reference in New Issue
Block a user