lol idk #1

Closed
Quaternions wants to merge 1062 commits from StrafesNET/strafe-project:master into master
Showing only changes of commit 02615af1fd - Show all commits

@ -401,6 +401,10 @@ impl Angle32{
pub const NEG_FRAC_PI_2:Self=Self(-1<<30);
pub const PI:Self=Self(-1<<31);
#[inline]
pub const fn raw(num:i32)->Self{
Self(num)
}
#[inline]
pub const fn wrap_from_i64(theta:i64)->Self{
//take lower bits
//note: this was checked on compiler explorer and compiles to 1 instruction!