3 messages · Page 1 of 1 (latest)
Is there a better way to 'cast' bevy's Vec3 to glam's Vec3 than:
glam::Vec3::new(transform.translation.x, transform.translation.y, transform.translation.z),
This does satisfy the compiler, but is there another way?
Bevy reexport those from glam. It should be compatible unless glam versions are not the same
Oh I see, the glam version my app and the crate are using is 0.21.3 and bevy is using 0.22.0 Would that be the reason?