summaryrefslogtreecommitdiff
path: root/engine/src/data_types
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2025-01-17 17:58:13 +0100
committerHampusM <hampus@hampusmat.com>2025-01-17 19:02:33 +0100
commit6fc7c0b2bf5547159b1d45c2ef9016df1f565dd8 (patch)
tree673c75bee5499a7887d583d2be3af356958090cc /engine/src/data_types
parent99dfc7b3c9f5721dae6a016a1171b451e97a4d7c (diff)
feat(engine): replace mesh::cube::create vertex cb with face cb
Diffstat (limited to 'engine/src/data_types')
-rw-r--r--engine/src/data_types/vector.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/src/data_types/vector.rs b/engine/src/data_types/vector.rs
index 8073cdf..802a4a7 100644
--- a/engine/src/data_types/vector.rs
+++ b/engine/src/data_types/vector.rs
@@ -2,7 +2,7 @@ use std::ops::{Add, AddAssign, Div, Mul, Neg, Sub, SubAssign};
use crate::color::Color;
-#[derive(Debug, Default, Clone, Copy)]
+#[derive(Debug, Default, Clone, Copy, PartialEq)]
pub struct Vec2<Value>
{
pub x: Value,
@@ -74,7 +74,7 @@ where
}
}
-#[derive(Debug, Default, Clone, Copy)]
+#[derive(Debug, Default, Clone, Copy, PartialEq)]
#[repr(C)]
pub struct Vec3<Value>
{