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 /3de.c | |
parent | 205f7d49530e6c32ec0a09045d9cb45dcf9b1752 (diff) |
scale matrix
Diffstat (limited to '3de.c')
-rw-r--r-- | 3de.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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++; } |