MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / WorldInvTransform

Method WorldInvTransform

engine/Poseidon/World/Simulation/Simul.cpp:2194–2207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2192}
2193
2194Matrix4 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
2209Matrix4 Entity::ProxyWorldTransform(const Object* obj) const
2210{

Callers 1

Calls 1

Tested by

no test coverage detected