mirror of
https://github.com/zeldaret/ph
synced 2026-07-05 04:49:51 -04:00
Name Vec3p functions and abs
This commit is contained in:
@@ -32,6 +32,14 @@ typedef struct {
|
||||
/* c */
|
||||
} Vec3p;
|
||||
|
||||
extern "C" void Vec3p_Add(Vec3p *a, Vec3p *b, Vec3p *out);
|
||||
extern "C" void Vec3p_Sub(Vec3p *a, Vec3p *b, Vec3p *out);
|
||||
extern "C" q20 Vec3p_Dot(Vec3p *a, Vec3p *b);
|
||||
extern "C" void Vec3p_Cross(Vec3p *a, Vec3p *b, Vec3p *out);
|
||||
extern "C" q20 Vec3p_Length(Vec3p *a);
|
||||
extern "C" void Vec3p_Normalize(Vec3p *vec, Vec3p *out);
|
||||
extern "C" void Vec3p_Axpy(q20 a, Vec3p *x, Vec3p *y, Vec3p *out);
|
||||
|
||||
typedef struct {
|
||||
/* 00 */ q20 x;
|
||||
/* 04 */ q20 y;
|
||||
|
||||
Reference in New Issue
Block a user