fix normals in smooth crown gear
This commit is contained in:
parent
be3ef2e4bd
commit
daa7f413de
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user