summaryrefslogtreecommitdiffstats
path: root/src/core/TempColModels.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-10 18:14:14 +0200
committeraap <aap@papnet.eu>2020-05-10 18:14:14 +0200
commitd9a8bab63131ccbd46420c9950fcaaad95e248aa (patch)
treeb3017e250ccbaf225106244221a9b3ee425c77bf /src/core/TempColModels.cpp
parentMerge pull request #532 from Nick007J/miami (diff)
downloadre3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.tar
re3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.tar.gz
re3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.tar.bz2
re3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.tar.lz
re3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.tar.xz
re3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.tar.zst
re3-d9a8bab63131ccbd46420c9950fcaaad95e248aa.zip
Diffstat (limited to 'src/core/TempColModels.cpp')
-rw-r--r--src/core/TempColModels.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/TempColModels.cpp b/src/core/TempColModels.cpp
index 70ded11b..f20923f2 100644
--- a/src/core/TempColModels.cpp
+++ b/src/core/TempColModels.cpp
@@ -16,6 +16,7 @@ CColModel CTempColModels::ms_colModelPedGroundHit;
CColModel CTempColModels::ms_colModelBoot1;
CColModel CTempColModels::ms_colModelDoor1;
CColModel CTempColModels::ms_colModelBonnet1;
+CColModel CTempColModels::ms_colModelWeapon;
CColSphere s_aPedSpheres[3];
@@ -285,5 +286,9 @@ CTempColModels::Initialise(void)
SET_COLMODEL_SPHERES(ms_colModelBodyPart2, s_aBodyPartSpheres2);
+
+ ms_colModelWeapon.boundingSphere.Set(0.25f, CVector(0.0f, 0.0f, 0.0f));
+ ms_colModelWeapon.boundingBox.Set(CVector(-0.25f, -0.25, -0.25f), CVector(0.25f, 0.25, 0.25f));
+
#undef SET_COLMODEL_SPHERES
}