maeriil / Aoriil

Image translator designed for manga but can be extended to any websites in general.
MIT License
0 stars 0 forks source link

Point data structure #20

Open maeriil opened 1 year ago

maeriil commented 1 year ago

Currently we work with pixels in images like so:

start_pos: list
end_pos: list

Each of start_pos and end_pos will always only have two values, x and y. However, we want to replace this with a point class such that our new format is as follows

start_pos: point
end_pos: point

However, before we make this change, we need to determine what could be the benefits of using this structure. List them out here and discuss if this change needs to happen or not.