diff options
author | quou <quou@disroot.org> | 2024-08-01 21:28:45 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-08-01 21:28:45 +1000 |
commit | e0a2f217634c7e0133378a23c94e60c7f74c77fb (patch) | |
tree | aa3a49d03de5e82adf55fc2c313d0791cdd06e18 /maths.h | |
parent | 205f7d49530e6c32ec0a09045d9cb45dcf9b1752 (diff) |
scale matrix
Diffstat (limited to 'maths.h')
-rw-r--r-- | maths.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |