mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Add minetest.get_player_window_information() (#12367)
This commit is contained in:
@@ -67,6 +67,12 @@ public:
|
||||
|
||||
void removeMesh(const scene::IMesh* mesh);
|
||||
|
||||
/**
|
||||
* This takes 3d_mode into account - side-by-side will return a
|
||||
* halved horizontal size.
|
||||
*
|
||||
* @return "window" size
|
||||
*/
|
||||
static v2u32 getWindowSize()
|
||||
{
|
||||
sanity_check(s_singleton);
|
||||
|
Reference in New Issue
Block a user