From 101b455e51f9b702da5517cabe2c3b1086fcb2e7 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 14 Apr 2024 12:34:52 +0200 Subject: feat(engine): use ECS architecture --- engine/src/data_types/dimens.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 engine/src/data_types/dimens.rs (limited to 'engine/src/data_types') diff --git a/engine/src/data_types/dimens.rs b/engine/src/data_types/dimens.rs new file mode 100644 index 0000000..b395627 --- /dev/null +++ b/engine/src/data_types/dimens.rs @@ -0,0 +1,7 @@ +/// Dimensions. +#[derive(Debug, Clone, Copy)] +pub struct Dimens +{ + pub width: Value, + pub height: Value, +} -- cgit v1.2.3-18-g5258