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

Method Top2D

engine/Poseidon/Graphics/Core/Engine.cpp:126–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 return toInt(_aspectSettings.uiTopLeftX * Width());
125}
126int Engine::Top2D() const
127{
128 return toInt(_aspectSettings.uiTopLeftY * Height());
129}
130
131Rect2DPixel Rect2DClipPixel(-1e6, -1e6, 2e6, 2e6);
132Rect2DAbs Rect2DClipAbs(0, 0, 1e6, 1e6);

Callers

nothing calls this directly

Calls 2

HeightFunction · 0.85
toIntFunction · 0.50

Tested by

no test coverage detected