#pragma once #include "parser/Adt/AdtChunkLocation.hpp" #include "parser/Doodad/Doodad.hpp" #include "utility/BoundingBox.hpp" #include "utility/Matrix.hpp" #include "utility/Vector.hpp" #include #include namespace parser { class DoodadInstance { public: const math::Matrix TransformMatrix; math::BoundingBox Bounds; std::set AdtChunks; const Doodad* const Model; DoodadInstance(const Doodad* doodad, const math::Matrix& transformMatrix); // DoodadInstance(const Doodad *doodad, const math::Vertex &position, const // math::Quaternion &rotation); math::Vertex TransformVertex(const math::Vertex& vertex) const; void BuildTriangles(std::vector& vertices, std::vector& indices) const; }; } // namespace parser