aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2020-12-18 16:58:57 +0100
committerCrozet Sébastien <developer@crozet.re>2020-12-29 11:31:59 +0100
commit7488cd02e89e82b3408e67411b2460d748c14f9f (patch)
tree701004b78d9b3367e6d62ae68deba0aa1a9e106a
parent0d2eb5f2e00b3c9b1ae4d323280fd7c405582b2e (diff)
downloadrapier-7488cd02e89e82b3408e67411b2460d748c14f9f.tar.gz
rapier-7488cd02e89e82b3408e67411b2460d748c14f9f.tar.bz2
rapier-7488cd02e89e82b3408e67411b2460d748c14f9f.zip
Remove unused constrants.
-rw-r--r--src/utils.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/utils.rs b/src/utils.rs
index ab7dc32..1f06ee5 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -13,18 +13,6 @@ use {
num::One,
};
-// pub(crate) const SIN_10_DEGREES: f32 = 0.17364817766;
-// 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")]
-pub(crate) const COS_FRAC_PI_8: f32 = 0.92387953251;
-#[cfg(feature = "dim2")]
-pub(crate) const SIN_FRAC_PI_8: f32 = 0.38268343236;
-
pub(crate) fn inv(val: f32) -> f32 {
if val == 0.0 {
0.0