Remove unnecessary copy constructor in btDbvt

This commit is contained in:
Daniele Bartolini
2019-12-15 01:21:24 +01:00
parent 08321b96ba
commit 4ea4c7ef6a

View File

@@ -131,7 +131,6 @@ subject to the following restrictions:
struct btDbvtAabbMm struct btDbvtAabbMm
{ {
DBVT_INLINE btDbvtAabbMm(){} DBVT_INLINE btDbvtAabbMm(){}
DBVT_INLINE btDbvtAabbMm(const btDbvtAabbMm& other): mi(other.mi), mx(other.mx){}
DBVT_INLINE btVector3 Center() const { return ((mi + mx) / 2); } DBVT_INLINE btVector3 Center() const { return ((mi + mx) / 2); }
DBVT_INLINE btVector3 Lengths() const { return (mx - mi); } DBVT_INLINE btVector3 Lengths() const { return (mx - mi); }
DBVT_INLINE btVector3 Extents() const { return ((mx - mi) / 2); } DBVT_INLINE btVector3 Extents() const { return ((mx - mi) / 2); }