Take all drawn lines, after they’re created store them in a list of vector lines

When the eraser is activated, search through all vector lines in the array, then iterate all points in the point arrays.

If the distance between the point and the mouse is less than some value then

check if the item index in the array is odd, if it is odd then set it to vector.zero.
then set the index – 1 to vector.zero.

Advertisements
This entry was posted in Thesis. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s