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
7
extern
"C"
{
8
#endif
9
10
void
PSVECAdd(
const
Vec
* a,
const
Vec
* b,
Vec
* sum);
11
void
PSVECSubtract(
const
Vec
* a,
const
Vec
* b,
Vec
* diff);
12
void
PSVECScale(
const
Vec
* in,
Vec
* out, f32 scale);
13
void
PSVECNormalize(
const
Vec
* in,
Vec
* out);
14
f32 PSVECMag(
const
Vec
* v);
15
f32 PSVECDotProduct(
const
Vec
* a,
const
Vec
* b);
16
void
PSVECCrossProduct(
const
Vec
* a,
const
Vec
* b,
Vec
* prod);
17
f32 PSVECSquareDistance(
const
Vec
* a,
const
Vec
* b);
18
void
C_VECHalfAngle(
const
Vec
* a,
const
Vec
* b,
Vec
* half);
19
20
#ifdef __cplusplus
21
}
22
#endif
23
#endif
Vec
Definition
mtxtypes.h:11
include
lib
revolution
MTX
vec.h
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2