ucsb-cs56-projects / cs56-utilities-grapher

-
0 stars 3 forks source link

F16_lab03.md #21

Closed AlexanderJBauer closed 7 years ago

AlexanderJBauer commented 7 years ago

fixes issue #20

fixes issue #22
fixes issue #15 There is a new F16_lab03.md since we changed repos. We also changed the default bounds of the graph to (-10,10,-10,10) The scroll wheel on the mouse now zooms in and out on the graph. We made a new origin button that sends you back to the origin at default bounds. Making a right click with the mouse now centers and zooms in on the point you clicked on.

While implementing the scroll wheel zoom, we realized the 'scale' method the graph uses was not zooming in and out of the center of the display but rather translating it slightly as well. That bug has now been fixed. We came a cross another bug however and that is that when you zoom out really far, the graph translates upwards. We are not sure why this is happening but are looking into it.