[Cleanup] Use default ctor/dtor in oriented_bounding_box.h (#3307)

# Notes
- Use default ctor/dtor instead of empty ones.
This commit is contained in:
Alex King 2023-04-29 20:51:21 -04:00 committed by GitHub
parent ecf2a369cc
commit ac5922bb32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,9 +7,9 @@
class OrientedBoundingBox class OrientedBoundingBox
{ {
public: public:
OrientedBoundingBox() { } OrientedBoundingBox() = default;
OrientedBoundingBox(const glm::vec3 &pos, const glm::vec3 &rot, const glm::vec3 &scale, const glm::vec3 &extents); OrientedBoundingBox(const glm::vec3 &pos, const glm::vec3 &rot, const glm::vec3 &scale, const glm::vec3 &extents);
~OrientedBoundingBox() { } ~OrientedBoundingBox() = default;
bool ContainsPoint(const glm::vec3 &p) const; bool ContainsPoint(const glm::vec3 &p) const;
private: private: