diff options
| author | HampusM <hampus@hampusmat.com> | 2026-09-16 12:42:45 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-09-16 12:42:45 +0200 |
| commit | f85f5afc5a4a50c5c87a236bc76f8a08d50e7137 (patch) | |
| tree | 335f55580ec706cd00ee937995355252b3304dfd /engine/src/mesh | |
| parent | edd3261058c3417cf04f95dbfbc51a64e35426aa (diff) | |
fix(engine): make textures not flipped
Diffstat (limited to 'engine/src/mesh')
| -rw-r--r-- | engine/src/mesh/vertex_buffer.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/src/mesh/vertex_buffer.rs b/engine/src/mesh/vertex_buffer.rs index 90e5752..5c03b45 100644 --- a/engine/src/mesh/vertex_buffer.rs +++ b/engine/src/mesh/vertex_buffer.rs @@ -58,7 +58,9 @@ pub enum VertexLabel { Position, Normal, - Uv, + + /// Texture coordinate with (0, 0) being at the top left. + UvFromTopLeft, Color, Other(Cow<'static, str>), } |
