Skip to content

Commit

Permalink
also converts unorm16x4
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Aug 2, 2023
1 parent 2686bdf commit 3f0baf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/bevy_gltf/src/vertex_attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ impl<'a> VertexAttributeIter<'a> {
VertexAttributeIter::U8x4(it, Normalization(true)) => {
Ok(Values::Float32x4(ReadWeights::U8(it).into_f32().collect()))
}
VertexAttributeIter::U16x4(it, Normalization(true)) => {
Ok(Values::Float32x4(ReadWeights::U16(it).into_f32().collect()))
}
s => s.into_any_values(),
}
}
Expand Down

0 comments on commit 3f0baf7

Please sign in to comment.