summaryrefslogtreecommitdiff
path: root/src/collision/ColLine.h
blob: 21587a062dbc47c52db26da0a6bd4d188fac0e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

struct CColLine
{
	// NB: this has to be compatible with two CVuVectors
	CVector p0;
	int pad0;
	CVector p1;
	int pad1;

	CColLine(void) { };
	CColLine(const CVector &p0, const CVector &p1) { this->p0 = p0; this->p1 = p1; };
	void Set(const CVector &p0, const CVector &p1);
};