common: Planar32
This commit is contained in:
@@ -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<Planar32>;
|
||||
pub type Planar32Mat3=linear_ops::types::Matrix3<Planar32>;
|
||||
|
||||
pub type Planar64TryFromFloatError=fixed_wide::fixed::FixedFromFloatError;
|
||||
pub type Planar64=fixed_wide::types::I32F32;
|
||||
pub type Planar64Vec3=linear_ops::types::Vector3<Planar64>;
|
||||
|
||||
Reference in New Issue
Block a user