aboutsummaryrefslogtreecommitdiff
path: root/include/types.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2017-12-20 20:55:05 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-18 15:21:46 +0100
commitca92d8c90f7103db6d7cae4cef49b278d804b474 (patch)
treebaf44e42fcc1cf7e871a7b2f1d3d92f680f3a845 /include/types.hpp
parent3d7f123c0fc0af4b8df3ad791b264d22268bd423 (diff)
Create shader using c++ code
Diffstat (limited to 'include/types.hpp')
-rw-r--r--include/types.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/types.hpp b/include/types.hpp
new file mode 100644
index 0000000..4f95730
--- /dev/null
+++ b/include/types.hpp
@@ -0,0 +1,22 @@
+#pragma once
+
+#include <cstdint>
+
+namespace amalgine
+{
+ typedef int8_t i8;
+ typedef int16_t i16;
+ typedef int32_t i32;
+ typedef int64_t i64;
+
+ typedef uint8_t u8;
+ typedef uint16_t u16;
+ typedef uint32_t u32;
+ typedef uint64_t u64;
+
+ typedef intptr_t isize;
+ typedef uintptr_t usize;
+
+ typedef float f32;
+ typedef double f64;
+}