mirror of https://github.com/AxioDL/metaforce.git
CCollisionPrimitive: Default virtual destructor
Same behavior, but more consistent with the existing interface, given a constructor is defaulted.
This commit is contained in:
parent
9cbe8ba885
commit
da4a33f01a
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue