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

Method CameraPosition

engine/Poseidon/World/Scene/Object.cpp:1656–1659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1654 if (!lShape)
1655 {
1656 LOG_ERROR(Graphics, "No shape object {} tested for aiming position", (const char*)GetDebugName());
1657 return Position();
1658 }
1659 return PositionModelToWorld(GetShape()->AimingCenter());
1660}
1661Vector3 Object::CameraPosition() const
1662{

Callers 6

SimulateMethod · 0.45
VisibleMethod · 0.45
ValueMethod · 0.45
GetPosMethod · 0.45
DrawCameraCockpitMethod · 0.45
SetWatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected