Make collision code placement more like original (+ small fixes)

This commit is contained in:
Sergeanur
2020-11-14 22:13:32 +02:00
parent be205d9602
commit a6f5f4634c
26 changed files with 932 additions and 854 deletions

14
src/collision/ColLine.h Normal file
View File

@@ -0,0 +1,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);
};