clippy fixes

This commit is contained in:
Robin Appelman 2024-12-14 15:03:59 +01:00
commit 3175e0840c
4 changed files with 16 additions and 18 deletions

View file

@ -25,7 +25,7 @@ impl From<&vmdl::vvd::Vertex> for Vertex {
fn from(vertex: &vmdl::vvd::Vertex) -> Self {
Vertex {
position: vertex.position.into(),
uv: vertex.texture_coordinates.into(),
uv: vertex.texture_coordinates,
normal: vertex.normal.into(),
}
}