From c95f9517e9da72c86acd649474bbd480c407ac18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Tue, 1 Feb 2022 21:30:45 +0100 Subject: [PATCH] Havok: Fix mismatched class/struct warnings --- .../Collide/Shape/Query/hkpRayShapeCollectionFilter.h | 2 +- .../Havok/Physics2012/Collide/Shape/hkpShapeBase.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/hkStubs/Havok/Physics2012/Collide/Shape/Query/hkpRayShapeCollectionFilter.h b/lib/hkStubs/Havok/Physics2012/Collide/Shape/Query/hkpRayShapeCollectionFilter.h index 8c1ee83c..01180cac 100644 --- a/lib/hkStubs/Havok/Physics2012/Collide/Shape/Query/hkpRayShapeCollectionFilter.h +++ b/lib/hkStubs/Havok/Physics2012/Collide/Shape/Query/hkpRayShapeCollectionFilter.h @@ -3,8 +3,8 @@ #include #include -class hkpShapeRayCastInput; class hkpShapeContainer; +struct hkpShapeRayCastInput; class hkpRayShapeCollectionFilter { public: diff --git a/lib/hkStubs/Havok/Physics2012/Collide/Shape/hkpShapeBase.h b/lib/hkStubs/Havok/Physics2012/Collide/Shape/hkpShapeBase.h index ca3be434..187db8cc 100644 --- a/lib/hkStubs/Havok/Physics2012/Collide/Shape/hkpShapeBase.h +++ b/lib/hkStubs/Havok/Physics2012/Collide/Shape/hkpShapeBase.h @@ -11,10 +11,10 @@ class hkSphere; class hkcdVertex; class hkpCdBody; class hkpRayHitCollector; -class hkpShapeRayBundleCastInput; -class hkpShapeRayBundleCastOutput; -class hkpShapeRayCastInput; -class hkpShapeRayCastOutput; +struct hkpShapeRayBundleCastInput; +struct hkpShapeRayBundleCastOutput; +struct hkpShapeRayCastInput; +struct hkpShapeRayCastOutput; /// Base interface for all physics shapes. class hkpShapeBase : public hkcdShape {