You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably a really hard one as I'm guessing nalgebra-glm uses some fancy macro magic to make this work. This line of code is flagged by Rust-analyzer as expecting 4 arguments but found 3.
let _v3 = nalgebra_glm::Vec3::new(1.0, 2.0, 3.0);
while when I add a forth argument, rustc now flags it saying that it expects 3 arguments but found 4.
let _v4 = nalgebra_glm::Vec3::new(1.0, 2.0, 3.0, 4.0);
The text was updated successfully, but these errors were encountered:
It doesn't compile, rustc flags it as an error, but rust-analyzer flags the three argument version as an error.
I don't need anything near what nalgebra-glm provides, just some simple homogeneous 3d maths, so I'll look for crate with a simpler implementation/interface.
This is probably a really hard one as I'm guessing nalgebra-glm uses some fancy macro magic to make this work. This line of code is flagged by Rust-analyzer as expecting 4 arguments but found 3.
let _v3 = nalgebra_glm::Vec3::new(1.0, 2.0, 3.0);
while when I add a forth argument, rustc now flags it saying that it expects 3 arguments but found 4.
let _v4 = nalgebra_glm::Vec3::new(1.0, 2.0, 3.0, 4.0);
The text was updated successfully, but these errors were encountered: