aboutsummaryrefslogtreecommitdiff
path: root/src/engine/vector2.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-16 19:42:50 +0100
committerHampusM <hampus@hampusmat.com>2022-02-16 19:42:50 +0100
commit3908dd75438de89ebec2b0737634faf23ce93884 (patch)
treecd4183ab6a3b07e747b75dafafb1e8a819304e10 /src/engine/vector2.hpp
parent91286f9dbb85fc2805345ba72468d5f145228be8 (diff)
refactor: delete vector2 copy
Diffstat (limited to 'src/engine/vector2.hpp')
-rw-r--r--src/engine/vector2.hpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/engine/vector2.hpp b/src/engine/vector2.hpp
index 8423431..f69008f 100644
--- a/src/engine/vector2.hpp
+++ b/src/engine/vector2.hpp
@@ -43,13 +43,6 @@ public:
*/
void y(unsigned int y);
- /**
- * Creates a copy of the 2D vector.
- *
- * @returns A identical 2D vector.
- */
- std::shared_ptr<Vector2> copy();
-
Vector2 operator*(const Vector2 &vector2) const;
Vector2 operator+(const Vector2 &vector2) const;
Vector2 operator-(const Vector2 &vector2) const;