lol idk #1

Open
Quaternions wants to merge 826 commits from StrafesNET/strafe-project:master into master
Showing only changes of commit 6dbe96fca2 - Show all commits

View File

@ -63,6 +63,10 @@ impl<const F:usize> Fixed<1,F>{
pub const fn raw(value:i64)->Self{
Self::from_bits(BInt::from_bits(bnum::BUint::from_digit(value as u64)))
}
#[inline]
pub const fn to_raw(self)->i64{
self.to_bits().to_bits().digits()[0] as i64
}
}
impl<const N:usize,const F:usize,T> From<T> for Fixed<N,F>