Add Vec3f factory and AddAsset (#44)

* 3D

* and env

* so much to fix

* Everything can be solved with triangles

* fixes

* initfix

* stuff
This commit is contained in:
petrie911
2024-03-16 14:37:37 -06:00
committed by GitHub
parent 02f2c2f03c
commit 3330d5bd39
11 changed files with 429 additions and 100 deletions
+3
View File
@@ -33,6 +33,9 @@ void TypeBinaryExporter::Export(std::ostream &write, std::shared_ptr<IParsedData
}
std::optional<std::shared_ptr<IParsedData>> TypeFactory::parse(std::vector<uint8_t>& buffer, YAML::Node& node) {
auto [root, segment] = Decompressor::AutoDecode(node, buffer, 0x1000);
LUS::BinaryReader reader(segment.data, segment.size);
reader.SetEndianness(LUS::Endianness::Big);
return std::make_shared<TypeData>();
}