Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ setCollisionPoly
Method
setCollisionPoly
source/game/StarMovementController.cpp:249–251 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
247
}
248
249
void MovementController::setCollisionPoly(PolyF const& poly) {
250
m_collisionPoly.set(poly);
251
}
252
253
Vec2F MovementController::position() const {
254
return {m_xPosition.get(), m_yPosition.get()};
Callers
1
writeNetState
Method · 0.80
Calls
1
set
Method · 0.45
Tested by
no test coverage detected