Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
}
261
float Engine::PixelAlignedY(float y)
262
{
263
return toInt(y) + 0.5f;
264
}
265
266
void Engine::SaveConfig()
267
{
Callers
1
DrawTargetInfo
Method · 0.80
Calls
1
toInt
Function · 0.50
Tested by
no test coverage detected