mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
27 lines
693 B
C++
27 lines
693 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include "Model/XModel/XModelCommon.h"
|
|
|
|
class AbstractXModelWriter
|
|
{
|
|
protected:
|
|
std::vector<XModelObject> m_objects;
|
|
std::vector<XModelBone> m_bones;
|
|
std::vector<XModelMaterial> m_materials;
|
|
std::vector<XModelVertex> m_vertices;
|
|
std::vector<XModelVertexBoneWeights> m_vertex_bone_weights;
|
|
std::vector<XModelFace> m_faces;
|
|
|
|
public:
|
|
AbstractXModelWriter();
|
|
|
|
void AddObject(XModelObject object);
|
|
void AddBone(XModelBone bone);
|
|
void AddMaterial(XModelMaterial material);
|
|
void AddVertex(XModelVertex vertex);
|
|
void AddVertexBoneWeights(XModelVertexBoneWeights vertexBoneWeights);
|
|
void AddFace(XModelFace face);
|
|
};
|