raysect / source

The main source repository for the Raysect project.
http://www.raysect.org
BSD 3-Clause "New" or "Revised" License
88 stars 23 forks source link

Add sin, cos, atan and atan2 FunctionxD objects #318

Closed jacklovell closed 5 years ago

jacklovell commented 5 years ago

Fixes #316. The awkward naming of Atan2xD is unfortunate, but I can't think of a better naming convention than copying the libc.math names and appending the dimension.

CnlPepper commented 5 years ago

It's probably best to rename Atan() and Atan2() to something like AtanXD() and Atan4QXD() ie short for Atan4Quadrant.

jacklovell commented 5 years ago

Sounds good, I'll do that