summaryrefslogtreecommitdiffstats
path: root/src/collision/ColLine.h
blob: a2cb9a0b056d440c9b0d8243b1b91d57defae353 (plain) (blame)
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);
};