summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-09-14 19:58:09 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-09-14 19:58:09 +0200
commitfbe09534d9f1f745b9118ae783b0c1917a41e6d8 (patch)
tree27d6b484ef1377f691d6b7ce591dec85f488629d /src/core
parentMerge branch 'carctrl_dev' (diff)
downloadre3-fbe09534d9f1f745b9118ae783b0c1917a41e6d8.tar
re3-fbe09534d9f1f745b9118ae783b0c1917a41e6d8.tar.gz
re3-fbe09534d9f1f745b9118ae783b0c1917a41e6d8.tar.bz2
re3-fbe09534d9f1f745b9118ae783b0c1917a41e6d8.tar.lz
re3-fbe09534d9f1f745b9118ae783b0c1917a41e6d8.tar.xz
re3-fbe09534d9f1f745b9118ae783b0c1917a41e6d8.tar.zst
re3-fbe09534d9f1f745b9118ae783b0c1917a41e6d8.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Collision.cpp2
-rw-r--r--src/core/Collision.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Collision.cpp b/src/core/Collision.cpp
index 21060500..fc8428be 100644
--- a/src/core/Collision.cpp
+++ b/src/core/Collision.cpp
@@ -34,7 +34,7 @@ enum Direction
eLevelName &CCollision::ms_collisionInMemory = *(eLevelName*)0x8F6250;
CLinkList<CColModel*> &CCollision::ms_colModelCache = *(CLinkList<CColModel*>*)0x95CB58;
-WRAPPER bool CCollision::IsStoredPoluStillValidVerticalLine(const CVector &pos, float z, CColPoint &point, CStoredCollPoly *poly) { EAXJMP(0x4105A0); }
+WRAPPER bool CCollision::IsStoredPolyStillValidVerticalLine(const CVector &pos, float z, CColPoint &point, CStoredCollPoly *poly) { EAXJMP(0x4105A0); }
void
CCollision::Init(void)
diff --git a/src/core/Collision.h b/src/core/Collision.h
index 7d58c1fc..9597a181 100644
--- a/src/core/Collision.h
+++ b/src/core/Collision.h
@@ -149,7 +149,7 @@ public:
static bool ProcessVerticalLine(const CColLine &line, const CMatrix &matrix, CColModel &model, CColPoint &point, float &mindist, bool ignoreSeeThrough, CStoredCollPoly *poly);
static int32 ProcessColModels(const CMatrix &matrixA, CColModel &modelA, const CMatrix &matrixB, CColModel &modelB, CColPoint *spherepoints, CColPoint *linepoints, float *linedists);
// TODO:
- static bool IsStoredPoluStillValidVerticalLine(const CVector &pos, float z, CColPoint &point, CStoredCollPoly *poly);
+ static bool IsStoredPolyStillValidVerticalLine(const CVector &pos, float z, CColPoint &point, CStoredCollPoly *poly);
static float DistToLine(const CVector *l0, const CVector *l1, const CVector *point);
static float DistToLine(const CVector *l0, const CVector *l1, const CVector *point, CVector &closest);