bevy/crates/bevy_gltf/src
François 3aad5c6b99
animations: convert skinning weights from unorm8x4 to float32x4 (#9338)
# Objective

- Fixes part of  #9021 

## Solution

- Joint mesh are in format `Unorm8x4` in some gltf file, but Bevy
expects a `Float32x4`. Converts them. Also converts `Unorm16x4`
- According to gltf spec:
https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#skinned-mesh-attributes
> WEIGHTS_n: float, or normalized unsigned byte, or normalized unsigned
short
2023-08-16 07:27:58 +00:00
..
lib.rs allow asset loader pre-registration (#9429) 2023-08-14 21:27:51 +00:00
loader.rs Add GltfLoader::new. (#9120) 2023-07-13 23:54:59 +00:00
vertex_attributes.rs animations: convert skinning weights from unorm8x4 to float32x4 (#9338) 2023-08-16 07:27:58 +00:00