Added minimum distance between points when creating objects, and also deselecting objects with lasso tool improved

This commit is contained in:
Yousef Khadadeh 2025-08-06 10:39:34 +03:00
parent 7ffa039061
commit 6d8d532952
7 changed files with 22 additions and 1 deletions

View file

@ -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);