diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2024-06-12 09:21:22 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-12 09:21:22 -0600 |
| commit | f4ed9b608cf576090d780ebfdf0a477eccd9d19d (patch) | |
| tree | 643b86c1fc55e7a12bd88bafd5bbdf89b917af98 | |
| parent | 7b373c3425532c31aade492f82656b999338f3b2 (diff) | |
Update GenericArrayFactory.cpp (#137)
| -rw-r--r-- | src/factories/GenericArrayFactory.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/factories/GenericArrayFactory.cpp b/src/factories/GenericArrayFactory.cpp index a154ab5..9e96b33 100644 --- a/src/factories/GenericArrayFactory.cpp +++ b/src/factories/GenericArrayFactory.cpp @@ -340,6 +340,13 @@ ExportResult ArrayBinaryExporter::Export(std::ostream &write, std::shared_ptr<IP writer.Write(z); break; } + case ArrayType::Vec3iu: { + auto [x, y, z] = std::get<Vec3iu>(datum); + writer.Write(x); + writer.Write(y); + writer.Write(z); + break; + } case ArrayType::Vec4f: { auto [x, y, z, w] = std::get<Vec4f>(datum); writer.Write(x); |
