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