demo: proper uvs!

This commit is contained in:
veclav talica 2024-07-20 00:48:30 +03:00
parent 875af2a758
commit 32b83d68ac

View File

@ -15,17 +15,17 @@ static void ingame_tick(struct state *state) {
(t_fvec3){ -1, -1, 0 },
(t_fvec3){ 1, -1, 0 },
(t_fvec3){ 1, 1, 0 },
(t_shvec2){ 0, 0 },
(t_shvec2){ 2048, 0 },
(t_shvec2){ 2048, 2048 });
(t_shvec2){ 0, 2048 },
(t_shvec2){ 2048, 2048 },
(t_shvec2){ 2048, 0 });
unfurl_triangle("/assets/big-violet.png",
(t_fvec3){ 1, 1, 0 },
(t_fvec3){ -1, 1, 0 },
(t_fvec3){ -1, -1, 0 },
(t_shvec2){ 2048, 2048 },
(t_shvec2){ 0, 2048 },
(t_shvec2){ 0, 0 });
(t_shvec2){ 2048, 0 },
(t_shvec2){ 0, 0 },
(t_shvec2){ 0, 2048 });
}