XRobots / openDog

CAD and code for each episode of my open source dog series
GNU General Public License v3.0
825 stars 189 forks source link

use atan2 instead of atan to avoid division #13

Open AJMansfield opened 5 years ago

AJMansfield commented 5 years ago

No need for that silly 'avoid dividing by zero' rubbish, just use the two-argument arctangent function.

JaysonDeMarchi commented 5 years ago

You might want to rebase the PR. Your PR is rewriting the entire file, when in reality only a handful of lines were changed.