summaryrefslogtreecommitdiff
path: root/engine/src/vector.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-10-06 23:09:57 +0200
committerHampusM <hampus@hampusmat.com>2023-10-06 23:09:57 +0200
commitd1be0566969974bd70f2d77915b6936095c894c6 (patch)
tree255745999c57c6a12042cd535fa272bc2994ee86 /engine/src/vector.rs
parent5c0374e61be0ba39c89af8d3e801437255253ffb (diff)
feat: add engine library base
Diffstat (limited to 'engine/src/vector.rs')
-rw-r--r--engine/src/vector.rs6
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,
+}