Files
ss/include/rvl/MTX/vec.h
T
robojumper 3829ee6d48 Rough dynamic collision setup (#24)
* Rough collider shape setup

* d_a_obj_toD3_stone_figure OK

* Cleanup

* Cleanup 2
2024-09-27 18:19:00 -04:00

24 lines
594 B
C

#ifndef RVL_SDK_MTX_VEC_H
#define RVL_SDK_MTX_VEC_H
#include "rvl/MTX/mtx.h"
#include <common.h>
#ifdef __cplusplus
extern "C" {
#endif
void PSVECAdd(const Vec *, const Vec *, Vec *);
void PSVECSubtract(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