mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
184f233a67
# Objective gltf-rs does its own computations when accessing `transform.matrix()` which does not use glam types, rendering #11238 useless if people were to load gltf models and expecting the results to be deterministic across platforms. ## Solution Move the computation to bevy side which uses glam types, it was already used in one place, so I created one common function to handle the two cases. The added benefit this has, is that some gltf files can have translation, rotation and scale directly instead of matrix which skips the transform computation completely, win-win. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |