CCollisionPrimitive: Default virtual destructor

Same behavior, but more consistent with the existing interface, given
a constructor is defaulted.
This commit is contained in:
Lioncash 2019-10-11 22:39:55 -04:00
parent 9cbe8ba885
commit da4a33f01a
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ public:
virtual zeus::CAABox CalculateAABox(const zeus::CTransform&) const = 0; virtual zeus::CAABox CalculateAABox(const zeus::CTransform&) const = 0;
virtual zeus::CAABox CalculateLocalAABox() const = 0; virtual zeus::CAABox CalculateLocalAABox() const = 0;
virtual FourCC GetPrimType() const = 0; virtual FourCC GetPrimType() const = 0;
virtual ~CCollisionPrimitive() {} virtual ~CCollisionPrimitive() = default;
virtual CRayCastResult CastRayInternal(const CInternalRayCastStructure&) const = 0; virtual CRayCastResult CastRayInternal(const CInternalRayCastStructure&) const = 0;
CRayCastResult CastRay(const zeus::CVector3f& start, const zeus::CVector3f& dir, float length, CRayCastResult CastRay(const zeus::CVector3f& start, const zeus::CVector3f& dir, float length,
const CMaterialFilter& filter, const zeus::CTransform& xf) const; const CMaterialFilter& filter, const zeus::CTransform& xf) const;