aboutsummaryrefslogtreecommitdiff
path: root/src/collision/ColSphere.h
blob: 70e2976357fc350a74a47041a1fa94dc94064079 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "SurfaceTable.h"

struct CColSphere
{
	// NB: this has to be compatible with a CVuVector
	CVector center;
	float radius;
	uint8 surface;
	uint8 piece;
	void Set(float radius, const CVector &center, uint8 surf = SURFACE_DEFAULT, uint8 piece = 0);
};