mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-12 18:38:43 -06:00
11 lines
245 B
Rust
11 lines
245 B
Rust
use shipyard::Component;
|
|
use glam::{Mat4, Mat3};
|
|
|
|
#[derive(Component, Clone, Copy, Debug, Default)]
|
|
#[track(All)]
|
|
pub struct Transform(pub Mat4);
|
|
|
|
#[derive(Component, Clone, Copy, Debug, Default)]
|
|
#[track(All)]
|
|
pub struct Transform2d(pub Mat3);
|