Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OneLoneCoder/olcPixelGameEngine
/ StartPan
Method
StartPan
extensions/olcPGEX_TransformedView.h:319–323 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
317
}
318
319
void TransformedView::StartPan(const olc::vi2d& vPos)
320
{
321
m_bPanning = true;
322
m_vStartPan = olc::vf2d(vPos);
323
}
324
325
void TransformedView::UpdatePan(const olc::vi2d& vPos)
326
{
Callers
1
OnUserUpdate
Method · 0.80
Calls
no outgoing calls
Tested by
1
OnUserUpdate
Method · 0.64