mirror of
https://github.com/zeldaret/ss
synced 2026-06-11 21:18:40 -04:00
23 lines
534 B
C
23 lines
534 B
C
#ifndef RVL_SDK_MTX_VEC_H
|
|
#define RVL_SDK_MTX_VEC_H
|
|
#include <lib/rvl/MTX/mtx.h>
|
|
#include <lib/rvl/types.h>
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void PSVECAdd(const Vec*, const Vec*, Vec*);
|
|
void PSVECScale(const Vec*, Vec*, f32);
|
|
void PSVECNormalize(const Vec*, Vec*);
|
|
f32 PSVECMag(const Vec*);
|
|
f32 PSVECDotProduct(const Vec*, const Vec*);
|
|
void PSVECCrossProduct(const Vec*, const Vec*, Vec*);
|
|
f32 PSVECSquareDistance(const Vec*, const Vec*);
|
|
|
|
void C_VECHalfAngle(const Vec*, const Vec*, Vec*);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|