[Cleanup] Remove IsOrigin(glm::vec2) from position.h (#3088)

# Notes
- This is unused.
This commit is contained in:
Alex King
2023-03-17 06:17:20 -04:00
committed by GitHub
parent 7374660045
commit 11e1edc99f
2 changed files with 0 additions and 5 deletions
-4
View File
@@ -19,10 +19,6 @@ std::string to_string(const glm::vec2 &position){
return StringFormat("(%.3f, %.3f)", position.x,position.y);
}
bool IsOrigin(const glm::vec2 &position) {
return glm::dot(position, position) == 0;
}
bool IsOrigin(const glm::vec3 &position) {
return glm::dot(position, position) == 0;
}