summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2024-06-01 20:18:26 -0600
committerLywx <kiritodev01@gmail.com>2024-06-03 20:51:16 -0600
commite7f124e5a804d2d244c7988e87b498338b604924 (patch)
treea264cd9b5b98ebb8fb97faaeed309dc85b78a023 /src
parentbeda6c05a39477ba83697ea51bdf3ff30bcaa417 (diff)
Update CourseVtx.h
Diffstat (limited to 'src')
-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
+}