Writing down mint::Vector3::new(x,y,z) can be often replaced with [x,y,z].into(), but the former is more familiar to many and somewhat clearer. Problem with that is - introducing methods, where currently there is none. We may decide to only allow simple constructors, like new.
Writing down
mint::Vector3::new(x,y,z)can be often replaced with[x,y,z].into(), but the former is more familiar to many and somewhat clearer. Problem with that is - introducing methods, where currently there is none. We may decide to only allow simple constructors, likenew.