diff options
author | aap <aap@papnet.eu> | 2020-05-06 17:56:38 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-06 17:56:38 +0200 |
commit | f1c1f56b1268b900a01a479f9ad67cd92e63eb52 (patch) | |
tree | f936f78ebcc7b736995b68b4d65a66c26cc790c2 /src/modelinfo/PedModelInfo.cpp | |
parent | Merge remote-tracking branch 'origin/master' into miami (diff) | |
download | re3-f1c1f56b1268b900a01a479f9ad67cd92e63eb52.tar re3-f1c1f56b1268b900a01a479f9ad67cd92e63eb52.tar.gz re3-f1c1f56b1268b900a01a479f9ad67cd92e63eb52.tar.bz2 re3-f1c1f56b1268b900a01a479f9ad67cd92e63eb52.tar.lz re3-f1c1f56b1268b900a01a479f9ad67cd92e63eb52.tar.xz re3-f1c1f56b1268b900a01a479f9ad67cd92e63eb52.tar.zst re3-f1c1f56b1268b900a01a479f9ad67cd92e63eb52.zip |
Diffstat (limited to '')
-rw-r--r-- | src/modelinfo/PedModelInfo.cpp | 8 |
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; } |