mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 14:41:38 -04:00
29 lines
473 B
C
29 lines
473 B
C
#ifndef SYS_MATH3D_H
|
|
#define SYS_MATH3D_H
|
|
|
|
#include "types.h"
|
|
#include "m_lib.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct math_3d_pipe_s {
|
|
s16 radius;
|
|
s16 height;
|
|
s16 offset;
|
|
s_xyz center;
|
|
} Math3D_pipe_c;
|
|
|
|
extern f32 Math3DVecLength(xyz_t* vec);
|
|
extern void sMath_RotateX(xyz_t* pos, f32 rad);
|
|
extern void sMath_RotateY(xyz_t* pos, f32 rad);
|
|
extern void sMath_RotateZ(xyz_t* pos, f32 rad);
|
|
|
|
extern xyz_t ZeroVec;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
|
|
#endif
|
|
#endif |