Skip to content

Commit

Permalink
Mention the f64 feature flag in the main lib.rs doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
idanarye committed Apr 2, 2024
1 parent ddc95a0 commit 7beb654
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
//!
//! Each physics integration crate has basic usage instructions for adding it in its documentation.
//!
//! When using a physics backend with double precision (like XPBD with the `f64` flag), the `f64`
//! flag should be added to all the Tnua crates. This applies to double precision data that gets
//! defined by the physics backend - Bevy itself will still use single precision, and this is the
//! precision the position and rotation will use.
//!
//! In addition to the physics integration plugin, the
//! [`TnuaControllerPlugin`](prelude::TnuaControllerPlugin) should also be added.
//!
Expand Down

0 comments on commit 7beb654

Please sign in to comment.