summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-01-31 12:42:52 -0600
committerKiritoDv <kiritodev01@gmail.com>2024-01-31 12:42:52 -0600
commit16a825c0d02c3f28f273216b86582758b5710d94 (patch)
tree76362d423e3681ffe8ff7d0a79a5290eddaa84e9
parent7321c6a4f19f9496e9089dc185003f87a7cb3d1c (diff)
Fixed linux issues
-rw-r--r--src/factories/sm64/GeoLayoutFactory.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/factories/sm64/GeoLayoutFactory.h b/src/factories/sm64/GeoLayoutFactory.h
index 33a3272..406babc 100644
--- a/src/factories/sm64/GeoLayoutFactory.h
+++ b/src/factories/sm64/GeoLayoutFactory.h
@@ -3,11 +3,12 @@
#include "../BaseFactory.h"
#include "geo/GeoCommand.h"
#include <vector>
-
-namespace SM64 {
+#include <variant>
typedef std::variant<uint8_t, int8_t, uint16_t, int16_t, uint32_t, int32_t, uint64_t, Vec2f, Vec3f, Vec3s, Vec3i, Vec4f, Vec4s> GeoArgument;
+namespace SM64 {
+
struct GeoCommand {
GeoOpcode opcode;
std::vector<GeoArgument> arguments;