Files
dca3-game/miami/collision/ColBox.cpp
Stefanos Kornilios Mitsis Poiitidis 09477b5c78 Add miami source
2025-02-22 12:32:51 +02:00

21 lines
362 B
C++

#include "common.h"
#include "ColBox.h"
void
CColBox::Set(const CVector &min, const CVector &max, uint8 surf, uint8 piece)
{
this->min = min;
this->max = max;
this->surface = surf;
this->piece = piece;
}
CColBox&
CColBox::operator=(const CColBox& other)
{
min = other.min;
max = other.max;
surface = other.surface;
piece = other.piece;
return *this;
}