Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
gd_math.h
Go to the documentation of this file.
1 #ifndef GD_MATH_H
2 #define GD_MATH_H
3 
4 #include <ultra64.h>
5 #include "gd_types.h"
6 
7 extern void func_80193B68(Mat4f *, f32, f32, f32, f32, f32, f32, f32, f32, f32);
8 extern void func_8019415C(Mat4f *, struct GdVec3f *);
9 extern void func_80194220(Mat4f *, struct GdVec3f *);
10 extern void func_801942E4(Mat4f *, struct GdVec3f *);
11 extern void func_80194358(Mat4f *, struct GdVec3f *, f32);
12 extern f32 func_80194728(f32, f32); /* min(f1, +/-f2)? */
13 extern void limit_vec3f(struct GdVec3f *, f32);
14 extern void func_80194880(f32, f32 *, f32 *);
15 extern void absrot_mat4(Mat4f *, s32, f32);
16 extern f32 magnitude_vec3f(struct GdVec3f *);
17 extern s32 into_unit_vec3f(struct GdVec3f *);
18 extern void cross_product_vec3f(struct GdVec3f *a, struct GdVec3f *b, struct GdVec3f *dst);
19 extern f32 dot_product_vec3f(struct GdVec3f *, struct GdVec3f *);
20 extern void inverse_mat4(Mat4f *, Mat4f *);
21 extern void func_801961F4(Mat4f *, struct GdVec3f *, f32);
22 extern void set_identity_mat4(Mat4f *);
23 extern void cpy_mat4(const Mat4f *, Mat4f *);
24 extern void func_80196430(struct GdVec3f *, const Mat4f *);
25 extern void func_80196540(struct GdVec3f *, const Mat4f *);
26 extern void multiply_mat4(const Mat4f *, const Mat4f *, Mat4f *);
27 extern void gd_print_vec(const char *, const struct GdVec3f *);
28 extern void gd_print_plane(const char *, const struct GdPlaneF *);
29 extern void gd_print_mtx(const char *, const Mat4f *);
30 
31 #endif /* GD_MATH_H */
void multiply_mat4(const Mat4f *, const Mat4f *, Mat4f *)
Definition: gd_math.c:765
Definition: gd_types.h:12
void gd_print_vec(const char *, const struct GdVec3f *)
void func_801942E4(Mat4f *, struct GdVec3f *)
Definition: gd_math.c:113
void gd_print_plane(const char *, const struct GdPlaneF *)
void func_8019415C(Mat4f *, struct GdVec3f *)
Definition: gd_math.c:87
s32 into_unit_vec3f(struct GdVec3f *)
Definition: gd_math.c:277
void absrot_mat4(Mat4f *, s32, f32)
Definition: gd_math.c:243
f32 magnitude_vec3f(struct GdVec3f *)
Definition: gd_math.c:272
void func_80194220(Mat4f *, struct GdVec3f *)
Definition: gd_math.c:100
void func_80194358(Mat4f *, struct GdVec3f *, f32)
Definition: gd_math.c:127
float f32
Definition: ultratypes.h:29
at end of structure union member declaration In standard C each member declaration must be terminated by a
Definition: err.english.cc:690
void cross_product_vec3f(struct GdVec3f *a, struct GdVec3f *b, struct GdVec3f *dst)
Definition: gd_math.c:299
void func_80196430(struct GdVec3f *, const Mat4f *)
Definition: gd_math.c:708
Definition: gd_types.h:7
void func_80193B68(Mat4f *, f32, f32, f32, f32, f32, f32, f32, f32, f32)
Definition: gd_math.c:16
void func_80196540(struct GdVec3f *, const Mat4f *)
Definition: gd_math.c:724
void inverse_mat4(Mat4f *, Mat4f *)
Definition: gd_math.c:332
void cpy_mat4(const Mat4f *, Mat4f *)
Definition: gd_math.c:688
void func_80194880(f32, f32 *, f32 *)
Definition: gd_math.c:216
signed int s32
Definition: ultratypes.h:15
void limit_vec3f(struct GdVec3f *, f32)
Definition: gd_math.c:195
f32 Mat4f[4][4]
Definition: gd_types.h:20
void set_identity_mat4(Mat4f *)
Definition: gd_math.c:668
f32 dot_product_vec3f(struct GdVec3f *, struct GdVec3f *)
Definition: gd_math.c:312
void func_801961F4(Mat4f *, struct GdVec3f *, f32)
Definition: gd_math.c:656
void gd_print_mtx(const char *, const Mat4f *)
f32 func_80194728(f32, f32)
Definition: gd_math.c:184