Open donotturnoff opened 2 years ago
Creating a struct to represent a point, containing an x and y field, would tidy up some function definitions and make the intent clearer. Also make Dimension containing w and h?
x
y
Dimension
w
h
Creating a struct to represent a point, containing an
x
andy
field, would tidy up some function definitions and make the intent clearer. Also makeDimension
containingw
andh
?