Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
RiverHillbug committed Mar 2, 2024
1 parent 788acf4 commit 8125b06
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
12 changes: 0 additions & 12 deletions Minigin/Transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,3 @@ void Transform::SetPosition(const glm::vec2 position)
{
m_Position = position;
}

/*
Transform Transform::operator+(const Transform& transform1, const Transform& transform2)
{
return transform1.m_Position + transform2.m_Position;
}
Transform Transform::operator-(const Transform& transform1, const Transform& transform2)
{
return transform1.m_Position - transform2.m_Position;
}
*/
3 changes: 0 additions & 3 deletions Minigin/Transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ class Transform final
void SetPosition(const float x, const float y);
void SetPosition(const glm::vec2 position);

/*static Transform operator+(const Transform& transform1, const Transform& transform2);
static Transform operator-(const Transform& transform1, const Transform& transform2);*/

private:
glm::vec2 m_Position;
};

0 comments on commit 8125b06

Please sign in to comment.