From 85c64c90644147018c8d4d80cebf091db6d1a954 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 6 May 2024 17:19:11 +0200 Subject: [PATCH] flip uvs --- kubi/src/world/mesh/builder.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubi/src/world/mesh/builder.rs b/kubi/src/world/mesh/builder.rs index 88cddf5..708d5f3 100644 --- a/kubi/src/world/mesh/builder.rs +++ b/kubi/src/world/mesh/builder.rs @@ -79,10 +79,10 @@ const CROSS_FACE_INDICES: [u32; 12] = [ const UV_COORDS: [[f32; 2]; 4] = [ - [0., 0.], [0., 1.], - [1., 0.], + [0., 0.], [1., 1.], + [1., 0.], ]; #[derive(Default)]