| 260 | } |
| 261 | |
| 262 | void xModelInstanceUpgradeBrotherShared(xModelInstance* inst, U32 flags) |
| 263 | { |
| 264 | if ((inst->Flags & 0x2000) && !(flags & 0x2000)) |
| 265 | { |
| 266 | U32 boneCount = iModelNumBones(inst->Data); |
| 267 | RwMatrix* allocmats = (RwMatrix*)xMemAllocSizeAlign( |
| 268 | ((1 + boneCount + ((flags >> 6) & 0x1))) * sizeof(RwMatrix), 16); |
| 269 | inst->Mat = allocmats; |
| 270 | inst->Flags = flags; |
| 271 | } |
| 272 | } |
| 273 | |
| 274 | void xModelUpdate(xModelInstance* modelInst, F32 timeDelta) |
| 275 | { |
no test coverage detected