Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SpartanJ/eepp
/ setViewSize
Method
setViewSize
src/modules/maps/src/eepp/maps/tilemap.cpp:500–506 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
498
}
499
500
void TileMap::setViewSize( const Sizef& viewSize ) {
501
mViewSize = viewSize;
502
503
clamp();
504
505
calcTilesClip();
506
}
507
508
const Vector2i& TileMap::getPosition() const {
509
return mScreenPos;
Callers
5
UIMap
Method · 0.80
onSizeChange
Method · 0.80
onMapLoad
Method · 0.80
onWindowResize
Method · 0.80
loadTextures
Method · 0.80
Calls
no outgoing calls
Tested by
2
onWindowResize
Method · 0.64
loadTextures
Method · 0.64