NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
vec.h
1#ifndef RVL_SDK_MTX_VEC_H
2#define RVL_SDK_MTX_VEC_H
3#include <types.h>
4
5#include <revolution/MTX/mtxtypes.h>
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10void PSVECAdd(const Vec* a, const Vec* b, Vec* sum);
11void PSVECSubtract(const Vec* a, const Vec* b, Vec* diff);
12void PSVECScale(const Vec* in, Vec* out, f32 scale);
13void PSVECNormalize(const Vec* in, Vec* out);
14f32 PSVECMag(const Vec* v);
15f32 PSVECDotProduct(const Vec* a, const Vec* b);
16void PSVECCrossProduct(const Vec* a, const Vec* b, Vec* prod);
17f32 PSVECSquareDistance(const Vec* a, const Vec* b);
18void C_VECHalfAngle(const Vec* a, const Vec* b, Vec* half);
19
20#ifdef __cplusplus
21}
22#endif
23#endif
Definition mtxtypes.h:11