forked from StrafesNET/strafe-project
WRONG
This commit is contained in:
parent
4e98e9a577
commit
f5d6280e0a
@ -256,8 +256,8 @@ impl std::ops::Mul<i64> for Ratio64Vec2{
|
|||||||
#[derive(Clone,Copy,Hash)]
|
#[derive(Clone,Copy,Hash)]
|
||||||
pub struct Angle32(i32);
|
pub struct Angle32(i32);
|
||||||
impl Angle32{
|
impl Angle32{
|
||||||
pub const FRAC_PI_2:Self=Self(1<<31);
|
pub const FRAC_PI_2:Self=Self(1<<30);
|
||||||
pub const PI:Self=Self(-1<<32);
|
pub const PI:Self=Self(-1<<31);
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn wrap_from_i64(theta:i64)->Self{
|
pub fn wrap_from_i64(theta:i64)->Self{
|
||||||
//take lower bits
|
//take lower bits
|
||||||
|
Loading…
Reference in New Issue
Block a user