small refactoring

This commit is contained in:
A-lex-Ra
2024-01-05 13:13:02 +06:00
parent 73595cd558
commit d671188680
7 changed files with 31 additions and 26 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ struct AABB {
}
/* Check if given point is inside */
inline bool inside(const glm::vec3 pos) const {
inline bool contains(const glm::vec3 pos) const {
const glm::vec3 p = min();
const glm::vec3 s = size();
return !(pos.x < p.x || pos.y < p.y || pos.z < p.z ||