diff options
author | HampusM <hampus@hampusmat.com> | 2023-10-06 23:09:57 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-10-06 23:09:57 +0200 |
commit | d1be0566969974bd70f2d77915b6936095c894c6 (patch) | |
tree | 255745999c57c6a12042cd535fa272bc2994ee86 /engine/src/vector.rs | |
parent | 5c0374e61be0ba39c89af8d3e801437255253ffb (diff) |
feat: add engine library base
Diffstat (limited to 'engine/src/vector.rs')
-rw-r--r-- | engine/src/vector.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engine/src/vector.rs b/engine/src/vector.rs new file mode 100644 index 0000000..92192bf --- /dev/null +++ b/engine/src/vector.rs @@ -0,0 +1,6 @@ +#[derive(Debug)] +pub struct Vec2<Value> +{ + pub x: Value, + pub y: Value, +} |