summaryrefslogtreecommitdiff
path: root/include/sys_math3d.h
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2024-10-01 08:46:56 +0200
committerGitHub <noreply@github.com>2024-10-01 08:46:56 +0200
commit47c6c36dc3def21963b4b7dcae1e705c34a8de82 (patch)
tree0793361ab1853349aab77e821db69fc0a26c41a1 /include/sys_math3d.h
parentbdc11c2894d482208ba9acef6f572fb317ee69d2 (diff)
[headers] Create zelda_arena.h, move protos to z64effect.h, and misc fixups (#2248)
* [headers] Create z64malloc.h, move protos to z64effect.h, and misc fixups * zelda_arena.h * bss * bss2 * bss3 * bss
Diffstat (limited to 'include/sys_math3d.h')
-rw-r--r--include/sys_math3d.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys_math3d.h b/include/sys_math3d.h
index b01063a9f..deeb093f4 100644
--- a/include/sys_math3d.h
+++ b/include/sys_math3d.h
@@ -4,6 +4,8 @@
#include "ultra64.h"
#include "z64math.h"
+struct PlayState;
+
s32 Math3D_PlaneVsLineSegClosestPoint(f32 planeAA, f32 planeAB, f32 planeAC, f32 planeADist, f32 planeBA, f32 planeBB,
f32 planeBC, f32 planeBDist, Vec3f* linePointA, Vec3f* linePointB,
Vec3f* closestPoint);
@@ -70,4 +72,7 @@ s32 Math3D_XZInSphere(Sphere16* sphere, f32 x, f32 z);
s32 Math3D_XYInSphere(Sphere16* sphere, f32 x, f32 y);
s32 Math3D_YZInSphere(Sphere16* sphere, f32 y, f32 z);
+void Math3D_DrawSphere(struct PlayState* play, Sphere16* sph);
+void Math3D_DrawCylinder(struct PlayState* play, Cylinder16* cyl);
+
#endif