Added minimum distance between points when creating objects, and also deselecting objects with lasso tool improved
This commit is contained in:
parent
7ffa039061
commit
6d8d532952
7 changed files with 22 additions and 1 deletions
|
|
@ -7,13 +7,14 @@
|
|||
|
||||
class DrawingProgram;
|
||||
|
||||
|
||||
class EditTool : public DrawingProgramToolBase {
|
||||
public:
|
||||
struct HandleData {
|
||||
Vector2f* p;
|
||||
Vector2f* min;
|
||||
Vector2f* max;
|
||||
float minimumDistanceBetweenBoundsAndPoint = 10.0f;
|
||||
float minimumDistanceBetweenBoundsAndPoint = MINIMUM_DISTANCE_BETWEEN_BOUNDS;
|
||||
};
|
||||
|
||||
EditTool(DrawingProgram& initDrawP);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue