| 2192 | } |
| 2193 | |
| 2194 | Matrix4 Entity::WorldInvTransform() const |
| 2195 | { |
| 2196 | if ((MoveOutState)_moveOutState == MOIn) |
| 2197 | { |
| 2198 | return GetInvTransform(); |
| 2199 | } |
| 2200 | |
| 2201 | if (!_hierParent) |
| 2202 | { |
| 2203 | LOG_DEBUG(Physics, "{}: no _hierParent", (const char*)GetDebugName()); |
| 2204 | return MIdentity; |
| 2205 | } |
| 2206 | return _hierParent->ProxyInvWorldTransform(this); |
| 2207 | } |
| 2208 | |
| 2209 | Matrix4 Entity::ProxyWorldTransform(const Object* obj) const |
| 2210 | { |
no test coverage detected