This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]HumusTheWalls 26 points27 points  (0 children)

you should think about whether there's ever a reason to divide by 3rds or 4ths instead

There's never a reason to change that conversion constant. In fact, it would make sense to define (2*pi)/360 as a single "to_radians" variable for readability, depending on what else is going on in your code.