update own world matrix and children's
| 69 | |
| 70 | // update own world matrix and children's |
| 71 | void Bone3D::updateWorldMat() |
| 72 | { |
| 73 | getWorldMat(); |
| 74 | for (auto&& itor : _children) |
| 75 | { |
| 76 | itor->updateWorldMat(); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | const Mat4& Bone3D::getWorldMat() |
| 81 | { |