worked on android port
opengl1 -> es
This commit is contained in:
26
mapview/3D/misc/Window.h
Normal file
26
mapview/3D/misc/Window.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef WINDOW_H
|
||||
#define WINDOW_H
|
||||
|
||||
#include "Renderable3D.h"
|
||||
#include <Indoor/geo/Point2.h>
|
||||
|
||||
#include <QMatrix4x4>
|
||||
|
||||
class Window : public Renderable3D {
|
||||
|
||||
Point2 from;
|
||||
Point2 to;
|
||||
float atHeight;
|
||||
float height;
|
||||
|
||||
QMatrix4x4 mat;
|
||||
|
||||
public:
|
||||
|
||||
Window(const Point2 from, const Point2 to, float atHeight, float height);
|
||||
|
||||
virtual void render(const RenderSettings& rs) override;
|
||||
|
||||
};
|
||||
|
||||
#endif // WINDOW_H
|
||||
Reference in New Issue
Block a user