mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
24 lines
478 B
C
24 lines
478 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;
|
||
|
std::vector<ModelJointTranslation> mJointTranslations;
|
||
|
std::vector<bool> mMeshesVisible;
|
||
|
|
||
|
public:
|
||
|
ModelInstance(ModelDef* modelDef);
|
||
|
|
||
|
virtual void Free() override {}
|
||
|
virtual void SetJointPosition(int jointIdx, const ModelJointTranslation& jointTranslation);
|
||
|
};
|
||
|
|
||
|
NS_BF_END;
|