summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/factories/mk64/CourseVtx.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/factories/mk64/CourseVtx.h b/src/factories/mk64/CourseVtx.h
index 8c67808..ffe876b 100644
--- a/src/factories/mk64/CourseVtx.h
+++ b/src/factories/mk64/CourseVtx.h
@@ -10,18 +10,11 @@ namespace MK64 {
uint8_t cn[4]; /* color & alpha */
};
- struct VtxRaw {
- int16_t ob[3]; /* x, y, z */
- uint16_t flag;
- int16_t tc[2]; /* texture coord */
- uint8_t cn[4]; /* color & alpha */
- };
-
class CourseVtxData : public IParsedData {
public:
- std::vector<VtxRaw> mVtxs;
+ std::vector<CourseVtx> mVtxs;
- explicit CourseVtxData(std::vector<VtxRaw> vtxs) : mVtxs(vtxs) {}
+ explicit CourseVtxData(std::vector<CourseVtx> vtxs) : mVtxs(vtxs) {}
};
class CourseVtxHeaderExporter : public BaseExporter {
@@ -52,4 +45,4 @@ namespace MK64 {
bool SupportModdedAssets() override { return false; }
};
-} \ No newline at end of file
+}