mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 17:38:26 +00:00
[Cleanup] Remove IsOrigin(glm::vec2) from position.h (#3088)
# Notes - This is unused.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user