diff options
| author | Crozet Sébastien <developer@crozet.re> | 2020-10-19 16:51:40 +0200 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2020-10-19 16:52:08 +0200 |
| commit | 947c4813c9666fd8215743de298fe17780fa3ef2 (patch) | |
| tree | 52bd4c5415797a98809d3e948c4a4d9aa94a1b5a /src/utils.rs | |
| parent | faf3e7e0f7f2b528da99343f9a3f8ce2b8fa6876 (diff) | |
| download | rapier-947c4813c9666fd8215743de298fe17780fa3ef2.tar.gz rapier-947c4813c9666fd8215743de298fe17780fa3ef2.tar.bz2 rapier-947c4813c9666fd8215743de298fe17780fa3ef2.zip | |
Complete the pfm/pfm contact generator.
Diffstat (limited to 'src/utils.rs')
| -rw-r--r-- | src/utils.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils.rs b/src/utils.rs index 04e6a3a..bd972b8 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -19,8 +19,9 @@ use { // pub(crate) const COS_10_DEGREES: f32 = 0.98480775301; // pub(crate) const COS_45_DEGREES: f32 = 0.70710678118; // pub(crate) const SIN_45_DEGREES: f32 = COS_45_DEGREES; +pub(crate) const COS_1_DEGREES: f32 = 0.99984769515; pub(crate) const COS_5_DEGREES: f32 = 0.99619469809; -#[cfg(feature = "dim2")] +// #[cfg(feature = "dim2")] pub(crate) const COS_FRAC_PI_8: f32 = 0.92387953251; #[cfg(feature = "dim2")] pub(crate) const SIN_FRAC_PI_8: f32 = 0.38268343236; |
