Closed jonathanolson closed 8 years ago
Note that vectors isn't enough, think about changing an arc radius.
Easiest way to support mutability would be to do it at the Segment (low) level, and being able to invalidate segments.
General support for this was added.
Consider allowing updates directly to Vector2 instances, since they would be shared by the before/after segments? Consider keeping the call history so it can be modified? Are there other ways to provide hooks into the path to only modify part of it?
Also many times when we want a modified Shape, it is common for the entire Shape to change. An 'input vectors dirty' flag may do really well until we validate the entire shape.