C++ code cleanup

This commit is contained in:
Enrico Turri 2018-06-12 12:18:16 +02:00
parent f8664fce71
commit 0faaef76e8
11 changed files with 2 additions and 1160 deletions

View file

@ -94,9 +94,7 @@ public:
void translate(const Pointf3 &pos) { this->translate(pos.x, pos.y, pos.z); }
void offset(coordf_t delta);
PointClass center() const;
//######################################################################################################################################33
coordf_t max_size() const;
//######################################################################################################################################33
bool contains(const PointClass &point) const {
return BoundingBoxBase<PointClass>::contains(point) && point.z >= this->min.z && point.z <= this->max.z;