kubi/kubi-shared/src/transform.rs
2023-02-14 19:35:47 +01:00

9 lines
217 B
Rust

use shipyard::Component;
use glam::{Mat4, Mat3};
#[derive(Component, Clone, Copy, Debug, Default)]
pub struct Transform(pub Mat4);
#[derive(Component, Clone, Copy, Debug, Default)]
pub struct Transform2d(pub Mat3);