Cargo Features
[dependencies]
ncollide3d-updated = { version = "0.36.3", default-features = false, features = ["dim2", "dim3", "serde-serialize", "improved_fixed_point_support"] }
- default = dim3
-
The
dim3
feature is set by default wheneverncollide3d-updated
is added without
somewhere in the dependency tree.default-features = false - dim2
-
Affects
rigid_motion::ConstantVelocityRigidMotion.angvel
,ncollide3d-updated::math
,convex_polyhedron_convex_polyhedron_manifold_generator::ConvexPolyhedronConvexPolyhedronManifoldGenerator
,cuboid::rectangle
,cuboid::unit_rectangle
,sphere::circle
,sphere::unit_circle
,algorithms::epa2
,convex_hull2::convex_hull2
,ccw_face_normal::ccw_face_normal
… - dim3 default
-
Affects
rigid_motion::ConstantVelocityRigidMotion.angvel
,ncollide3d-updated::math
,convex_polyhedron_convex_polyhedron_manifold_generator::ConvexPolyhedronConvexPolyhedronManifoldGenerator
,bezier::bezier_surface_at
,bezier::bezier_surface
,cuboid::cuboid
,cuboid::unit_cuboid
,procedural::path
,sphere::sphere
,sphere::unit_sphere
,sphere::unit_hemisphere
,utils::push_circle
,utils::push_ring_indices
,utils::push_open_ring_indices
,utils::push_degenerate_top_ring_indices
,utils::push_degenerate_open_top_ring_indices
,utils::push_filled_circle_indices
,utils::push_rectangle_indices
,utils::reverse_clockwising
,utils::split_index_buffer
… - serde-serialize = serde
-
Enables serde-serialize of nalgebra
- improved_fixed_point_support
-
Improve numerical stability when working with fixed-point numbers so we don't need a too large number of decimals.
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.