summaryrefslogtreecommitdiff
path: root/include/sf64math.h
diff options
context:
space:
mode:
authorpetrie911 <69443847+petrie911@users.noreply.github.com>2024-01-02 15:33:26 -0600
committerGitHub <noreply@github.com>2024-01-02 18:33:26 -0300
commit50107c8ec395e77f7f3a0c266d8b0dd821313339 (patch)
treefbf20bb9d0e566b49fa398ea2c9751b9354c048a /include/sf64math.h
parent16b16ce0eb38d3de6857f675ebd70a63dc398297 (diff)
fox_beam, more use of enum types, some cleanup (#67)
* cleaning and such * stuff * enum types * format * a touch more
Diffstat (limited to 'include/sf64math.h')
-rw-r--r--include/sf64math.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/include/sf64math.h b/include/sf64math.h
index 3e4344ab..3e0babeb 100644
--- a/include/sf64math.h
+++ b/include/sf64math.h
@@ -10,14 +10,18 @@ typedef struct {
} Vec3f; // size = 0xC
typedef struct {
- Vec3f pos;
- Vec3f rot;
-} PosRot;
+ /* 0x00 */ Vec3f pos;
+ /* 0x0C */ Vec3f rot;
+} PosRot; // size = 0x18
typedef struct {
- Vec3f normal;
- f32 dist;
-} Plane;
+ /* 0x0 */ s16 vtx[3];
+} Triangle; // size = 0x6
+
+typedef struct {
+ /* 0x0 */ Vec3f normal;
+ /* 0xC */ f32 dist;
+} Plane; // size = 0x10
typedef struct {
/* 0x0 */ s16 x;