Cargo Features

[dependencies]
ncollide3d = { version = "0.33.0", default-features = false, features = ["dim3", "serde-serialize", "improved_fixed_point_support"] }
default = dim3

The dim3 feature is set by default whenever ncollide3d is added without default-features = false somewhere in the dependency tree.

dim3 default

Affects rigid_motion::ConstantVelocityRigidMotion.angvel, ncollide3d::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 ^0.30

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.

serde serde-serialize?