diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-06-20 15:23:32 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-06-20 15:23:32 +0200 |
commit | 0625954bb74e687ed73b496bc06e9db58407e045 (patch) | |
tree | 3ec342a96685889bf2512ececcfc76f1bdac14a0 /src/core/Collision.cpp | |
parent | bikes in garages + bugfix (diff) | |
download | re3-0625954bb74e687ed73b496bc06e9db58407e045.tar re3-0625954bb74e687ed73b496bc06e9db58407e045.tar.gz re3-0625954bb74e687ed73b496bc06e9db58407e045.tar.bz2 re3-0625954bb74e687ed73b496bc06e9db58407e045.tar.lz re3-0625954bb74e687ed73b496bc06e9db58407e045.tar.xz re3-0625954bb74e687ed73b496bc06e9db58407e045.tar.zst re3-0625954bb74e687ed73b496bc06e9db58407e045.zip |
Diffstat (limited to '')
-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; |