From e0a2f217634c7e0133378a23c94e60c7f74c77fb Mon Sep 17 00:00:00 2001 From: quou Date: Thu, 1 Aug 2024 21:28:45 +1000 Subject: scale matrix --- maths.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'maths.h') diff --git a/maths.h b/maths.h index 725e401..a31c3da 100644 --- a/maths.h +++ b/maths.h @@ -31,6 +31,7 @@ void mtx_push_trans(int* v); void mtx_push_rot_x(int a); void mtx_push_rot_y(int a); void mtx_push_rot_z(int a); +void mtx_push_scale(int a); int* mtx_pop(void); int* mtx_popn(int n); int* mtx_peek(void); @@ -38,6 +39,7 @@ int* mtx_trans(int* d, int* v); int* mtx_rot_x(int* d, int a); int* mtx_rot_y(int* d, int a); int* mtx_rot_z(int* d, int a); +int* mtx_scale(int* d, int s); int* mtx_apply(const int* m, int* v); int* vec_cpy(int* d, const int* s, int c); int* vec_ref(int* d, const int* i, const int* n, int c); -- cgit v1.2.3-54-g00ecf