From 949e3f5384a366c3bff5415c5db4635e811a580e Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Tue, 20 Oct 2020 16:22:53 +0200 Subject: Fix many warnings. --- src/utils.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/utils.rs') 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")] -- cgit