is there a way 2 get the window size in c++, need it 2 calculate the centre of the screen.
There is an API:
www.panda3d.org/apiref.php?page=GraphicsWindow
its get_x_size and get_y_size on your window.
thx, now my camera works properly
is there a way 2 get the window size in c++, need it 2 calculate the centre of the screen.
There is an API:
www.panda3d.org/apiref.php?page=GraphicsWindow
its get_x_size and get_y_size on your window.
thx, now my camera works properly