MCPcopy Create free account
hub / github.com/beefytech/Beef / ModelInstance

Method ModelInstance

BeefySysLib/gfx/ModelInstance.cpp:5–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3USING_NS_BF;
4
5ModelInstance::ModelInstance(ModelDef* modelDef)
6{
7 mNext = NULL;
8 mModelDef = modelDef;
9 mJointTranslations.Resize(mModelDef->mJoints.size());
10 mMeshesVisible.Insert(0, mModelDef->mMeshes.size(), true);
11}
12
13void Beefy::ModelInstance::SetJointPosition(int jointIdx, const ModelJointTranslation& jointTranslation)
14{

Callers

nothing calls this directly

Calls 3

ResizeMethod · 0.45
sizeMethod · 0.45
InsertMethod · 0.45

Tested by

no test coverage detected