From 92fcb82ca340a6697bc3739d5e1c423abdaa66b2 Mon Sep 17 00:00:00 2001 From: penguindark <57967770+penguindark@users.noreply.github.com> Date: Sun, 9 Jan 2022 15:02:24 +0100 Subject: [PATCH] sokol: fix for example06 (#13101) --- examples/sokol/06_obj_viewer/modules/obj/obj.v | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/sokol/06_obj_viewer/modules/obj/obj.v b/examples/sokol/06_obj_viewer/modules/obj/obj.v index 1d239a0a56..e01bf900a4 100644 --- a/examples/sokol/06_obj_viewer/modules/obj/obj.v +++ b/examples/sokol/06_obj_viewer/modules/obj/obj.v @@ -396,15 +396,15 @@ fn (mut obj_part ObjPart) load_materials() { // vertex data struct pub struct Vertex_pnct { pub mut: - x f32 // poistion - y f32 - z f32 - nx f32 // normal - ny f32 - nz f32 - color u32 = 0xFFFFFFFF // color - u f32 // uv - v f32 + x f32 // poistion + y f32 + z f32 + nx f32 // normal + ny f32 + nz f32 + // color u32 = 0xFFFFFFFF // color + u f32 // uv + v f32 // u u16 // for compatibility with D3D11 // v u16 // for compatibility with D3D11 }