MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / ChibiModel_Register

Function ChibiModel_Register

src/Model.c:1261–1275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1259};
1260
1261static void ChibiModel_Register(void) {
1262 Model_Init(&chibi_model);
1263 chibi_model.DrawArm = ChibiModel_DrawArm;
1264 chibi_model.armX = 3;
1265 chibi_model.armY = 6;
1266
1267 chibi_model.calcHumanAnims = true;
1268 chibi_model.usesHumanSkin = true;
1269 chibi_model.flags |= MODEL_FLAG_CLEAR_HAT;
1270 chibi_model.maxVertices = HUMAN_MAX_VERTICES;
1271
1272 chibi_model.maxScale = 3.0f;
1273 chibi_model.shadowScale = 0.5f;
1274 Model_Register(&chibi_model);
1275}
1276
1277
1278/*########################################################################################################################*

Callers 1

RegisterDefaultModelsFunction · 0.85

Calls 2

Model_InitFunction · 0.85
Model_RegisterFunction · 0.85

Tested by

no test coverage detected