27 lines
397 B
C++
27 lines
397 B
C++
#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
|