1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include "common.h" #include "ColPoint.h" CColPoint& CColPoint::operator=(const CColPoint &other) { point = other.point; normal = other.normal; surfaceA = other.surfaceA; pieceA = other.pieceA; surfaceB = other.surfaceB; pieceB = other.pieceB; // no depth? return *this; }