summary refs log tree commit diff
path: root/src/Common
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2023-07-11 04:13:18 +0200
committerMel <einebeere@gmail.com>2023-07-11 04:13:18 +0200
commite6812d2df6bd8a0a71375096abe46f8039d8c570 (patch)
tree8fd1bb578f5a6e2edfc1b1dfffea32f9285c17c9 /src/Common
parent2c3ac8db3f539459166c801e61c5efdacf9150c3 (diff)
downloadmeowcraft-e6812d2df6bd8a0a71375096abe46f8039d8c570.tar.zst
meowcraft-e6812d2df6bd8a0a71375096abe46f8039d8c570.zip
Create MeshBuilder utility for comfy mesh building
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/Sizes.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Common/Sizes.hpp b/src/Common/Sizes.hpp
index 91422e5..de49d3d 100644
--- a/src/Common/Sizes.hpp
+++ b/src/Common/Sizes.hpp
@@ -1,6 +1,7 @@
 #pragma once
 
 #include <cstdint>
+#include <sys/types.h>
 
 using I8 = int8_t;
 using U8 = uint8_t;
@@ -14,8 +15,8 @@ using U32 = uint32_t;
 using I64 = int64_t;
 using U64 = uint64_t;
 
-using ISize = I64;
-using USize = U64;
+using ISize = ssize_t;
+using USize = size_t;
 
 using F32 = float;
 using F64 = double;