Closed arpan-dhatt closed 3 years ago
Hi, that's because nalgebra
must be in scope. This has been fixed in the version 0.9.1 of Rapier by making nalgebra part of the prelude: rapier3d::prelude::nalgebra
so that it is automatically in scope when doing use rapier3d::prelude::*
.
Just tried out the Getting Started code example (on
complete_docs
branch) and it currently doesn't compile since thevector!
macro errors at compile time:use of undeclared crate or module nalgebra
.I tried importing the macro by using
use rapier3d::na::vector;
but I still have the same error. I've worked around it by just usingrapier3d::na::Vector3
for now.