summaryrefslogtreecommitdiff
path: root/src/collision/ColSphere.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/collision/ColSphere.h')
-rw-r--r--src/collision/ColSphere.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/collision/ColSphere.h b/src/collision/ColSphere.h
index f86b282a..3f18d8c0 100644
--- a/src/collision/ColSphere.h
+++ b/src/collision/ColSphere.h
@@ -2,10 +2,11 @@
#include "SurfaceTable.h"
-struct CSphere
+// TODO(LCS): maybe this was in a union with CVuVector? or is the alignment manual?
+struct TYPEALIGN(16) CSphere
{
// NB: this has to be compatible with a CVuVector
- CVector center;
+ RwV3d center;
float radius;
void Set(float radius, const CVector &center) { this->center = center; this->radius = radius; }
};