SebKuzminsky / pycam

Other
340 stars 98 forks source link

Polygon: one copy of get_shifted_vertex() is enough #80

Closed SebKuzminsky closed 6 years ago

SebKuzminsky commented 6 years ago

Both copies of this function were identical, so combine them to reduce code duplication.

sumpfralle commented 6 years ago

hehe - how did you find that one? Did you use a tool?

SebKuzminsky commented 6 years ago

No tools, I just stumbled upon it while trying to understand the code to debug #79.