From e0a2f217634c7e0133378a23c94e60c7f74c77fb Mon Sep 17 00:00:00 2001 From: quou Date: Thu, 1 Aug 2024 21:28:45 +1000 Subject: scale matrix --- 3de.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '3de.c') diff --git a/3de.c b/3de.c index bf114ec..1c10e03 100644 --- a/3de.c +++ b/3de.c @@ -47,11 +47,12 @@ void draw_gun(Renderer* r) { const Texture* tex = get_texture(asset_id_gun_texture); int p[] = { f1 * 7, 0, f1 * 5, f1 }; mtx_push_trans(p); + mtx_push_scale(0xff); /*mtx_push_rot_x(a); mtx_push_rot_y(a); mtx_push_rot_z(a);*/ ren_mesh(r, m, tex); - mtx_popn(1); + mtx_popn(2); a++; } -- cgit v1.2.3-54-g00ecf