| 35 | static void RecurseChild(xBase* child, xEntBoulder** boulList, S32& currBoul); |
| 36 | |
| 37 | void xEntBoulder_FitToModel(xEntBoulder* ent) |
| 38 | { |
| 39 | xVec3Copy(&ent->bound.cyl.center, (xVec3*)(&ent->model->Data->boundingSphere.center)); |
| 40 | ent->bound.cyl.r = ent->model->Data->boundingSphere.radius; |
| 41 | xVec3Copy(&ent->localCenter, &ent->bound.cyl.center); |
| 42 | xVec3AddTo(&ent->bound.cyl.center, (xVec3*)&ent->model->Mat->pos); |
| 43 | } |
| 44 | |
| 45 | void xEntBoulder_Render(xEnt* ent) |
| 46 | { |
no test coverage detected