MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / cursorWorldPosition

Method cursorWorldPosition

source/frontend/StarMainInterface.cpp:866–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864}
865
866Vec2F MainInterface::cursorWorldPosition() const {
867 return m_worldPainter->camera().screenToWorld(m_cursorScreenPos);
868}
869
870bool MainInterface::isDebugDisplayed() {
871 return m_clientCommandProcessor->debugDisplayEnabled();

Callers 1

updateCameraMethod · 0.80

Calls 1

screenToWorldMethod · 0.80

Tested by

no test coverage detected