diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2024-10-01 08:46:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-01 08:46:56 +0200 |
| commit | 47c6c36dc3def21963b4b7dcae1e705c34a8de82 (patch) | |
| tree | 0793361ab1853349aab77e821db69fc0a26c41a1 /include/sys_math3d.h | |
| parent | bdc11c2894d482208ba9acef6f572fb317ee69d2 (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.h | 5 |
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 |
