bevy/src/core/transform.rs
2019-12-01 20:03:04 -08:00

14 lines
235 B
Rust

use crate::math;
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct Transform {
pub value: math::Mat4,
}
impl Transform {
pub fn new() -> Transform {
Transform {
value: math::identity(),
}
}
}