forked from StrafesNET/strafe-project
Planar64Affine3::IDENTITY
This commit is contained in:
parent
af3abbcb4d
commit
6a7c076203
@ -654,6 +654,7 @@ pub struct Planar64Affine3{
|
||||
pub translation:Planar64Vec3,
|
||||
}
|
||||
impl Planar64Affine3{
|
||||
pub const IDENTITY:Self=Self::new(mat3::identity(),vec3::ZERO);
|
||||
#[inline]
|
||||
pub const fn new(matrix3:Planar64Mat3,translation:Planar64Vec3)->Self{
|
||||
Self{matrix3,translation}
|
||||
|
Loading…
x
Reference in New Issue
Block a user