26 lines
369 B
C++
26 lines
369 B
C++
#ifndef HANDRAIL_H
|
|
#define HANDRAIL_H
|
|
|
|
|
|
#include "Renderable3D.h"
|
|
#include <Indoor/geo/Point2.h>
|
|
|
|
class Handrail : public Renderable3D {
|
|
|
|
private:
|
|
|
|
Point2 from;
|
|
Point2 to;
|
|
float atHeight;
|
|
float height;
|
|
|
|
public:
|
|
|
|
Handrail(const Point2 from, const Point2 to, float atHeight, float height);
|
|
|
|
void render(const RenderSettings& rs) override;
|
|
|
|
};
|
|
|
|
#endif // HANDRAIL_H
|