common: Planar32

This commit is contained in:
2025-08-26 15:16:13 -07:00
parent cfd9550566
commit 3cbad7869f

View File

@@ -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>;