| 35 | static void Model_NoParts(void) { } |
| 36 | |
| 37 | void Model_Init(struct Model* model) { |
| 38 | model->bobbing = true; |
| 39 | model->usesSkin = true; |
| 40 | model->calcHumanAnims = false; |
| 41 | model->usesHumanSkin = false; |
| 42 | model->pushes = true; |
| 43 | |
| 44 | model->maxScale = 2.0f; |
| 45 | model->shadowScale = 1.0f; |
| 46 | model->armX = 6; model->armY = 12; |
| 47 | |
| 48 | model->GetTransform = Model_GetTransform; |
| 49 | model->DrawArm = Model_NullFunc; |
| 50 | } |
| 51 | |
| 52 | cc_bool Model_ShouldRender(struct Entity* e) { |
| 53 | Vec3 pos = e->Position; |
no outgoing calls
no test coverage detected