aboutsummaryrefslogtreecommitdiff
path: root/src/utils.rs
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2020-10-20 16:22:53 +0200
committerCrozet Sébastien <developer@crozet.re>2020-10-20 16:22:53 +0200
commit949e3f5384a366c3bff5415c5db4635e811a580e (patch)
tree910467800fc3038c279c8d166833735e043d5edc /src/utils.rs
parent64958470950cd9832a669b1bd5d70a2aeb6a85ef (diff)
downloadrapier-949e3f5384a366c3bff5415c5db4635e811a580e.tar.gz
rapier-949e3f5384a366c3bff5415c5db4635e811a580e.tar.bz2
rapier-949e3f5384a366c3bff5415c5db4635e811a580e.zip
Fix many warnings.
Diffstat (limited to 'src/utils.rs')
-rw-r--r--src/utils.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.rs b/src/utils.rs
index 48f4ef7..0bc9e17 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -20,6 +20,7 @@ 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;
+#[cfg(feature = "dim3")]
pub(crate) const COS_1_DEGREES: f32 = 0.99984769515;
pub(crate) const COS_5_DEGREES: f32 = 0.99619469809;
// #[cfg(feature = "dim2")]