Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OneLoneCoder/olcPixelGameEngine
/ SetLayerOffset
Method
SetLayerOffset
olcPixelGameEngine.h:2578–2581 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2576
}
2577
2578
void PixelGameEngine::SetLayerOffset(uint8_t layer, const olc::vf2d& offset)
2579
{
2580
SetLayerOffset(layer, offset.x, offset.y);
2581
}
2582
2583
void PixelGameEngine::SetLayerOffset(uint8_t layer, float x, float y)
2584
{
Callers
nothing calls this directly
Calls
1
size
Method · 0.45
Tested by
no test coverage detected