summaryrefslogtreecommitdiffstats
path: root/src/modelinfo
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-06 18:04:52 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-06 18:04:52 +0200
commitd5e76471ae48bd3a31edb987d1c5366e7a67b3e2 (patch)
tree07a8ff3df033c62c58b6d27dfb94227e92b384c9 /src/modelinfo
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
parentCSphere and CBox for CColModel (diff)
downloadre3-d5e76471ae48bd3a31edb987d1c5366e7a67b3e2.tar
re3-d5e76471ae48bd3a31edb987d1c5366e7a67b3e2.tar.gz
re3-d5e76471ae48bd3a31edb987d1c5366e7a67b3e2.tar.bz2
re3-d5e76471ae48bd3a31edb987d1c5366e7a67b3e2.tar.lz
re3-d5e76471ae48bd3a31edb987d1c5366e7a67b3e2.tar.xz
re3-d5e76471ae48bd3a31edb987d1c5366e7a67b3e2.tar.zst
re3-d5e76471ae48bd3a31edb987d1c5366e7a67b3e2.zip
Diffstat (limited to 'src/modelinfo')
-rw-r--r--src/modelinfo/PedModelInfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modelinfo/PedModelInfo.cpp b/src/modelinfo/PedModelInfo.cpp
index 47080e23..7dfadf06 100644
--- a/src/modelinfo/PedModelInfo.cpp
+++ b/src/modelinfo/PedModelInfo.cpp
@@ -255,13 +255,13 @@ CPedModelInfo::CreateHitColModel(void)
colmodel->spheres = spheres;
colmodel->numSpheres = NUMPEDINFONODES;
center.x = center.y = center.z = 0.0f;
- colmodel->boundingSphere.Set(2.0f, center, 0, 0);
+ colmodel->boundingSphere.Set(2.0f, center);
CVector min, max;
min.x = min.y = -0.5f;
min.z = -1.2f;
max.x = max.y = 0.5f;
max.z = 1.2f;
- colmodel->boundingBox.Set(min, max, 0, 0);
+ colmodel->boundingBox.Set(min, max);
colmodel->level = LEVEL_NONE;
m_hitColModel = colmodel;
}
@@ -339,13 +339,13 @@ CPedModelInfo::CreateHitColModelSkinned(RpClump *clump)
colmodel->spheres = spheres;
colmodel->numSpheres = NUMPEDINFONODES;
center.x = center.y = center.z = 0.0f;
- colmodel->boundingSphere.Set(2.0f, center, 0, 0);
+ colmodel->boundingSphere.Set(2.0f, center);
CVector min, max;
min.x = min.y = -0.5f;
min.z = -1.2f;
max.x = max.y = 0.5f;
max.z = 1.2f;
- colmodel->boundingBox.Set(min, max, 0, 0);
+ colmodel->boundingBox.Set(min, max);
colmodel->level = LEVEL_NONE;
m_hitColModel = colmodel;
}