summaryrefslogtreecommitdiff
path: root/shared_cpp/RenderShared.h
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2021-06-17 20:44:55 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2021-06-17 20:44:55 -0400
commite68d14c4d5b4cced62c2148323c38e7f49292bd7 (patch)
tree9df84f2f9b4264cfcd74f0ab4738b5fd39f49e67 /shared_cpp/RenderShared.h
parent4079e69fe4107d2a50b122dbd58710bbeb10ace2 (diff)
Rotating 3d square
Diffstat (limited to 'shared_cpp/RenderShared.h')
-rw-r--r--shared_cpp/RenderShared.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/shared_cpp/RenderShared.h b/shared_cpp/RenderShared.h
new file mode 100644
index 0000000..c50627f
--- /dev/null
+++ b/shared_cpp/RenderShared.h
@@ -0,0 +1,7 @@
+#pragma once
+#include "mathlib.h"
+#include "types.h"
+
+typedef Vector4 Color;
+
+Color colorFromHex(float32 r, float32 g, float32 b, float32 a);