summaryrefslogtreecommitdiffstats
path: root/include/core/AABB.hpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-03-01 16:28:58 +0100
committerGitHub <noreply@github.com>2021-03-01 16:28:58 +0100
commit55c0a2ea03369efefa0f795bdc7f81fbd4568a47 (patch)
tree069520ecface5af683b236029919af91dceeaf31 /include/core/AABB.hpp
parentcee79bb7a6989677812a88833fca2ed4156a117f (diff)
parentcba90d630177ce6c57b5537e74ef3eab4e9c1ea2 (diff)
downloadredot-cpp-55c0a2ea03369efefa0f795bdc7f81fbd4568a47.tar.gz
Merge pull request #525 from vnen/update-clang-format
Update clang-format to version 11
Diffstat (limited to 'include/core/AABB.hpp')
-rw-r--r--include/core/AABB.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/core/AABB.hpp b/include/core/AABB.hpp
index 41ade0a..bed3f35 100644
--- a/include/core/AABB.hpp
+++ b/include/core/AABB.hpp
@@ -16,12 +16,10 @@ public:
real_t get_area() const; /// get area
inline bool has_no_area() const {
-
return (size.x <= CMP_EPSILON || size.y <= CMP_EPSILON || size.z <= CMP_EPSILON);
}
inline bool has_no_surface() const {
-
return (size.x <= CMP_EPSILON && size.y <= CMP_EPSILON && size.z <= CMP_EPSILON);
}