1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-16 01:45:36 +02:00

Add crossview support (#7361)

This commit is contained in:
otdav33
2018-05-29 12:38:58 -04:00
committed by SmallJoker
parent 7f7678e4e3
commit 3f0720e721
5 changed files with 10 additions and 6 deletions

View File

@@ -27,6 +27,7 @@ protected:
video::ITexture *left = nullptr;
video::ITexture *right = nullptr;
bool horizontal = false;
bool flipped = false;
core::dimension2du image_size;
v2s32 rpos;
@@ -37,6 +38,6 @@ protected:
public:
RenderingCoreSideBySide(IrrlichtDevice *_device, Client *_client, Hud *_hud,
bool _horizontal = false);
bool _horizontal = false, bool _flipped = false);
void drawAll() override;
};