From f5d6280e0a5f822b5fc66cfd36645c0be6a0ad35 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 13 Oct 2023 16:27:45 -0700 Subject: [PATCH] WRONG --- src/integer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/integer.rs b/src/integer.rs index fe445d8..c63cede 100644 --- a/src/integer.rs +++ b/src/integer.rs @@ -256,8 +256,8 @@ impl std::ops::Mul for Ratio64Vec2{ #[derive(Clone,Copy,Hash)] pub struct Angle32(i32); impl Angle32{ - pub const FRAC_PI_2:Self=Self(1<<31); - pub const PI:Self=Self(-1<<32); + pub const FRAC_PI_2:Self=Self(1<<30); + pub const PI:Self=Self(-1<<31); #[inline] pub fn wrap_from_i64(theta:i64)->Self{ //take lower bits