Quantcast
Channel: Question and Answer » libgdx
Viewing all articles
Browse latest Browse all 434

Why value 1 in OrthographicCamera viewPort width?

$
0
0

So, I read that camera = new OrthographicCamera(1, h/w); creates a camera with an appropriate width and height for the field view.. However, I can’t understand that value 1 for the viewport width, does a value 1 means full width?


Viewing all articles
Browse latest Browse all 434

Trending Articles