From daa7f413de7c14e9a991649c3ca1908351540e7d Mon Sep 17 00:00:00 2001 From: numzero Date: Mon, 19 Oct 2026 23:57:50 +0300 Subject: [PATCH] fix normals in smooth crown gear --- src/crown_gear.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crown_gear.rs b/src/crown_gear.rs index 137ec1a..42333dd 100644 --- a/src/crown_gear.rs +++ b/src/crown_gear.rs @@ -49,7 +49,7 @@ pub fn make_mesh_smooth( let vertex = |x, z, n| Vertex { position: rot * vec3(x, 0.0, z), - normal: n, + normal: rot * n, }; mesh.vertices.extend([ // top