diff --git a/lib/common/src/integer.rs b/lib/common/src/integer.rs index 4e71f734..4f105bc2 100644 --- a/lib/common/src/integer.rs +++ b/lib/common/src/integer.rs @@ -552,6 +552,12 @@ impl TryFrom<[f32;3]> for Unit32Vec3{ } */ +// placeholder until bnum supports u8 +#[derive(Clone,Copy,Hash,Eq,PartialEq,Ord,PartialOrd)] +pub struct Planar32(i32); +pub type Planar32Vec3=linear_ops::types::Vector3; +pub type Planar32Mat3=linear_ops::types::Matrix3; + pub type Planar64TryFromFloatError=fixed_wide::fixed::FixedFromFloatError; pub type Planar64=fixed_wide::types::I32F32; pub type Planar64Vec3=linear_ops::types::Vector3;