summaryrefslogtreecommitdiff
path: root/3de.c
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-08-01 21:28:45 +1000
committerquou <quou@disroot.org>2024-08-01 21:28:45 +1000
commite0a2f217634c7e0133378a23c94e60c7f74c77fb (patch)
treeaa3a49d03de5e82adf55fc2c313d0791cdd06e18 /3de.c
parent205f7d49530e6c32ec0a09045d9cb45dcf9b1752 (diff)
scale matrix
Diffstat (limited to '3de.c')
-rw-r--r--3de.c3
1 files changed, 2 insertions, 1 deletions
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++;
}