summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorAetias <144526980+AetiasHax@users.noreply.github.com>2026-05-11 20:34:17 +0200
committerGitHub <noreply@github.com>2026-05-11 20:34:17 +0200
commite704ec994219540b71da323a61ffa930f80ce492 (patch)
tree8ef52838d148fcc7c1d1f1cb2458f47af9c23fa0 /libs
parentd02c870d1dbe8c9b5e8b3acbb3b5bfff53ad8d03 (diff)
ActorCharacter OK (#162)
* ActorCharacter 93% * ActorCharacter 98% * ActorCharacter OK * Fix broken matches
Diffstat (limited to 'libs')
-rw-r--r--libs/nds/include/nds/math.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/nds/include/nds/math.h b/libs/nds/include/nds/math.h
index c021bc0f..3ad44511 100644
--- a/libs/nds/include/nds/math.h
+++ b/libs/nds/include/nds/math.h
@@ -145,6 +145,12 @@ inline void Vec3p_Copy(Vec3p *vec, Vec3p *out) {
out->z = vec->z;
}
+inline void Vec3p_Set(Vec3p *vec, q20 x, q20 y, q20 z) {
+ vec->x = x;
+ vec->y = y;
+ vec->z = z;
+}
+
void Mat2p_InitIdentity(Mat2p *m);
void Mat2p_InitRotation(Mat2p *m, q20 sin, q20 cos);
void Mat2p_Multiply(Mat2p *a, Mat2p *b, Mat2p *out);