Cargo Features

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

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

dim2 default

Affects rigid_motion::ConstantVelocityRigidMotion.angvel, ncollide2d::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

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?