deleting from the grid is now bleaching fast added new helper methods many new test-cases many new methods for geo classes and others added a bunch of new grid-walkers
19 lines
293 B
C
19 lines
293 B
C
#ifndef STAIR_H
|
|
#define STAIR_H
|
|
|
|
#include "../geo/BBox2.h"
|
|
#include "../geo/Point2.h"
|
|
|
|
/** a simple stair with a slope from A to B */
|
|
struct Stair {
|
|
|
|
/** starting line of the stair */
|
|
Line2 start;
|
|
|
|
/** the direction to move all the starting points to */
|
|
Point2 dir;
|
|
|
|
};
|
|
|
|
#endif // STAIR_H
|