Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ange-yaghi/engine-sim
/ getCameraPosition
Method
getCameraPosition
src/engine_view.cpp:63–65 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
61
}
62
63
Point EngineView::getCameraPosition() const {
64
return Point(-m_pan / m_zoom);
65
}
Callers
1
renderScene
Method · 0.80
Calls
1
Point
Class · 0.85
Tested by
no test coverage detected