#Can you init a Vec2/3 with one value?
1 messages · Page 1 of 1 (latest)
Vec*::splat(f32) is the function you want
Thanks!
1 messages · Page 1 of 1 (latest)
Just wondering if there's a shorthand for having to do Vec2::new(same_value, same_value);
Vec*::splat(f32) is the function you want
Thanks!