diff options
author | aap <aap@papnet.eu> | 2020-06-21 14:52:19 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-06-21 14:52:19 +0200 |
commit | b81bf1e1389728d42acf8de6128e57fc386d91b8 (patch) | |
tree | f6baf48d8f5a310794ab3477246033a8c2dd426c /src/core/Collision.cpp | |
parent | synch with re3 (diff) | |
parent | killing peds increase chaos level (diff) | |
download | re3-b81bf1e1389728d42acf8de6128e57fc386d91b8.tar re3-b81bf1e1389728d42acf8de6128e57fc386d91b8.tar.gz re3-b81bf1e1389728d42acf8de6128e57fc386d91b8.tar.bz2 re3-b81bf1e1389728d42acf8de6128e57fc386d91b8.tar.lz re3-b81bf1e1389728d42acf8de6128e57fc386d91b8.tar.xz re3-b81bf1e1389728d42acf8de6128e57fc386d91b8.tar.zst re3-b81bf1e1389728d42acf8de6128e57fc386d91b8.zip |
Diffstat (limited to 'src/core/Collision.cpp')
-rw-r--r-- | src/core/Collision.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/Collision.cpp b/src/core/Collision.cpp index 77e28a10..76019c2f 100644 --- a/src/core/Collision.cpp +++ b/src/core/Collision.cpp @@ -1861,6 +1861,19 @@ CColTrianglePlane::Set(const CVector *v, CColTriangle &tri) dir = normal.z < 0.0f ? DIR_Z_NEG : DIR_Z_POS; } +CColPoint& +CColPoint::operator=(const CColPoint& other) +{ + point = other.point; + normal = other.normal; + surfaceA = other.surfaceA; + pieceA = other.pieceA; + surfaceB = other.surfaceB; + pieceB = other.pieceB; + // doesn't copy depth + return *this; +} + CColModel::CColModel(void) { numSpheres = 0; |