GLViewport: fix documentation, #87

This commit is contained in:
Emux 2016-07-21 13:44:51 +03:00
parent faada6625f
commit 4eebbcea2d

View File

@ -68,7 +68,8 @@ public class GLViewport extends Viewport {
}
/**
* Set MVP offset in screen pixel coordinates
* Set MVP so that coordinates are in screen pixel coordinates with 0,0
* being center
*/
public void useScreenCoordinates(int width, int height, Position position, float xOffset, float yOffset, float scale) {
float invScale = 1f / scale;