summaryrefslogtreecommitdiff
path: root/engine/src/vector.rs
blob: 48550fa6014d84b43e35fa76b63995b4237290bd (plain)
1
2
3
4
5
6
7
8
9
10
11
#[derive(Debug)]
pub struct Vec2<Value>
{
    pub x: Value,
    pub y: Value,
}

impl Vec2<u32>
{
    pub const ZERO: Self = Self { x: 0, y: 0 };
}