mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
[Cleanup] Remove IsOrigin(glm::vec2) from position.h (#3088)
# Notes - This is unused.
This commit is contained in:
parent
7374660045
commit
11e1edc99f
@ -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;
|
||||
}
|
||||
|
||||
@ -31,7 +31,6 @@ std::string to_string(const glm::vec2 &position);
|
||||
bool IsWithinAxisAlignedBox(const glm::vec3 &position, const glm::vec3 &minimum, const glm::vec3 &maximum);
|
||||
bool IsWithinAxisAlignedBox(const glm::vec2 &position, const glm::vec2 &minimum, const glm::vec2 &maximum);
|
||||
|
||||
bool IsOrigin(const glm::vec2 &position);
|
||||
bool IsOrigin(const glm::vec3 &position);
|
||||
bool IsOrigin(const glm::vec4 &position);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user