summaryrefslogtreecommitdiff
path: root/src/collision/ColBox.cpp
blob: 53cba88b5e49015801aa08d572643eb3c77d5434 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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;
}