fixed issues and elevators
This commit is contained in:
@@ -508,6 +508,9 @@ namespace Floorplan {
|
||||
/** the elevator's rotation (in radians) */
|
||||
float rotation;
|
||||
|
||||
/** the elevator's height (from its starting position) */
|
||||
float height_m;
|
||||
|
||||
/** get the 4 corner points for the elevator */
|
||||
Polygon2 getPoints() const {
|
||||
const Point2 p1 = Point2(+width/2, +depth/2).rotated(rotation) + center;
|
||||
|
||||
Reference in New Issue
Block a user