#I have a crate which adds traits to glam's Vec3 but those are not available on bevy's.

3 messages · Page 1 of 1 (latest)

regal umbra
#

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?

next iron
#

Bevy reexport those from glam. It should be compatible unless glam versions are not the same

regal umbra
#

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?