Cargo Features
[dependencies]
nphysics3d = { version = "0.24.0", default-features = false, features = ["use-wasm-bindgen", "dim3", "improved_fixed_point_support", "stdweb"] }
- default = dim3, stdweb
-
These default features are set whenever
nphysics3d
is added without
somewhere in the dependency tree.default-features = false - use-wasm-bindgen = dim3, wasm-bindgen, web-sys
-
Enables wasm-bindgen of instant
- dim3 default use-wasm-bindgen?
-
Affects
revolute_constraint::RevoluteConstraint
,nphysics3d::math
,helper::restrict_relative_angular_velocity_to_axis
,helper::align_axis
,helper::restore_angle_between_axis
… - improved_fixed_point_support
-
Improve numerical stability when working with fixed-point numbers so we don't need a too large number of decimals.
Enables improved_fixed_point_support of ncollide3d ^0.32
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.
- stdweb wasm32-unknown-unknown asmjs-unknown-emscripten wasm32-unknown-emscripten default
- wasm-bindgen wasm32-unknown-unknown asmjs-unknown-emscripten wasm32-unknown-emscripten use-wasm-bindgen?
- web-sys wasm32-unknown-unknown asmjs-unknown-emscripten wasm32-unknown-emscripten use-wasm-bindgen?