1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00
Beef/BeefySysLib/gfx/ModelInstance.h
2021-05-12 07:24:29 -04:00

24 lines
No EOL
466 B
C++

#pragma once
#include "Common.h"
#include "gfx/ModelDef.h"
#include "gfx/RenderCmd.h"
#include "util/Matrix4.h"
NS_BF_BEGIN;
class ModelInstance : public RenderCmd
{
public:
ModelDef* mModelDef;
Array<ModelJointTranslation> mJointTranslations;
Array<bool> mMeshesVisible;
public:
ModelInstance(ModelDef* modelDef);
virtual void Free() override {}
virtual void SetJointPosition(int jointIdx, const ModelJointTranslation& jointTranslation);
};
NS_BF_END;