Method | Description | |
---|---|---|
updateCamera ( Vector2 shipPos, Vector2 shipPos2 ) : void |
Method | Description | |
---|---|---|
applyZoom ( Vector2 player1Pos, Vector2 player2Pos, int smallestScreenDimention, float screenIncreaseFactor ) : void | ||
findCenter ( Vector2 p1, Vector2 p2 ) : Vector2 |
public updateCamera ( Vector2 shipPos, Vector2 shipPos2 ) : void | ||
shipPos | Vector2 | |
shipPos2 | Vector2 | |
return | void |