mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
5aa998dc07
# Objective Allow interoperation between `Isometry3d` and the transform types from bevy_transform. At least in the short term, the primary goal is to allow the extraction of isometries from transform components by users. ## Solution - Add explicit `from_isometry`/`to_isometry` methods to `Transform`. - Add explicit `from_isometry`/`to_isometry` methods to `GlobalTransform`. The former is hidden (primarily for internal use), and the latter has the caveats originating in [`Affine3A::to_scale_rotation_translation`](https://docs.rs/glam/latest/glam/f32/struct.Affine3A.html#method.to_scale_rotation_translation). - Implement the `TransformPoint` trait for `Isometry3d`. |
||
---|---|---|
.. | ||
components | ||
bundles.rs | ||
commands.rs | ||
helper.rs | ||
lib.rs | ||
plugins.rs | ||
systems.rs | ||
traits.rs |