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

Method PixelAlignedY

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

Source from the content-addressed store, hash-verified

259 return toInt(x) + 0.5f;
260}
261float Engine::PixelAlignedY(float y)
262{
263 return toInt(y) + 0.5f;
264}
265
266void Engine::SaveConfig()
267{

Callers 1

DrawTargetInfoMethod · 0.80

Calls 1

toIntFunction · 0.50

Tested by

no test coverage detected