Name Vec3p functions and abs

This commit is contained in:
Aetias
2024-05-19 12:58:22 +02:00
parent a573a263ba
commit b5764f424a
133 changed files with 2352 additions and 2338 deletions
+8
View File
@@ -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;