Skip to content

Commit

Permalink
added some docs to explain switching from f32 to f64
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenGar committed Mar 21, 2024
1 parent 857c497 commit 794cbf9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions jagua-rs/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
//!
//! A fast and fearless Collision Detection Engine for 2D irregular cutting and packing problems.
//!
//!
//! This crate can be configured to use single or double precision floating points:
//! * By default, single precision is used: ```f32```
//! * With feature ```double_precision```: ```f64```

/// Everything collision detection engine related
pub mod collision_detection;

Expand Down
2 changes: 1 addition & 1 deletion lbf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repository = "https://github.com/JeroenGar/jagua-rs"
authors = ["Jeroen Gardeyn"]

[dependencies]
jagua-rs = { path = "../jagua-rs" , version = "0.1.1", features = [] }
jagua-rs = { path = "../jagua-rs" , version = "0.1.1", features = ["double_precision"] }
rand = { version = "0.8.5", features = [ "small_rng" ] }
rand_distr = "0.4.3"
serde = { version = "1.0", features = ["derive"] }
Expand Down

0 comments on commit 794cbf9

Please sign in to comment.