| 1014 | } |
| 1015 | |
| 1016 | void xEntDefaultBoundUpdate(xEnt* ent, xVec3* pos) |
| 1017 | { |
| 1018 | xBound* bound = &ent->bound; |
| 1019 | |
| 1020 | if (bound->type == XBOUND_TYPE_SPHERE) |
| 1021 | { |
| 1022 | xVec3Copy(&bound->sph.center, pos); |
| 1023 | |
| 1024 | bound->sph.center.y += 0.7f; |
| 1025 | bound->sph.r = 0.7f; |
| 1026 | } |
| 1027 | |
| 1028 | xBoundUpdate(bound); |
| 1029 | zGridUpdateEnt(ent); |
| 1030 | } |
| 1031 | |
| 1032 | void xEntDefaultTranslate(xEnt* ent, xVec3* dpos, xMat4x3* dmat) |
| 1033 | { |
no test coverage detected