Bevy-Rust-GPU/bevy-pbr-rust

Factor swizzles back in via `glam::Vec*Swizzles` traits

Opened this issue · 0 comments

Shfty commented

Swizzles were removed during the port from WGSL. This isn't ideal, since it breaks both upstream and glam conventions, and obfuscates at-a-glance comparison between the two implementations.

Need to sweep through and replace Foo::new(bar.x, bar.y, ...) with trait swizzles.