summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/z64math.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/z64math.h b/include/z64math.h
index 6fa64f4f4..4a4d15b98 100644
--- a/include/z64math.h
+++ b/include/z64math.h
@@ -40,6 +40,11 @@ typedef struct {
} Vec3i; // size = 0xC
typedef struct {
+ /* 0x0 */ f32 distance;
+ /* 0x4 */ s16 angle;
+} VecPolar; // size = 0x8
+
+typedef struct {
/* 0x0 */ Vec3s center;
/* 0x6 */ s16 radius;
} Sphere16; // size = 0x8
@@ -49,8 +54,8 @@ typedef struct {
/* 0xC */ f32 radius;
} Spheref; // size = 0x10
-/*
-The plane paramaters are of form `ax + by + cz + d = 0`
+/*
+The plane paramaters are of form `ax + by + cz + d = 0`
where `(a,b,c)` is the plane's normal vector and d is the originDist
*/
typedef struct {