Closed m-ou-se closed 4 years ago
Looks like I forgot some --features=fluids
stuff. Working on it.
Getting some frustrating errors now with the fluids
feature:
the trait `nphysics3d::object::collider_set::ColliderSet<N, _>` is not implemented for `nphysics::object::DefaultColliderSet<N>`
the trait `nphysics3d::object::body_set::BodySet<N>` is not implemented for `nphysics::object::DefaultBodySet<N>`
Any ideas?
Turns out salva
was pulling in a copy of nphysics
from crates.io. The traits and objects in the errors were from different copies of nalgebra. Looks like this was already a problem. #260 fixes that.
With #260, this PR now also works fine with --features=fluids
.
Thanks 👍
This leaves all the graphics objects in
f32
, but allows using anf64
world: Shapes are converted to anf32
representation, and inputs are converted back.