mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 15:26:00 +02:00
Initial checkin
This commit is contained in:
parent
c74712dad9
commit
078564ac9e
3242 changed files with 1616395 additions and 0 deletions
24
BeefySysLib/gfx/ModelInstance.h
Normal file
24
BeefySysLib/gfx/ModelInstance.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
#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;
|
Loading…
Add table
Add a link
Reference in a new issue