I'm trying to adapt the following PDF to POV-Ray code for my planetarium/orrery. https://ssd.jpl.nasa.gov/txt/aprx_pos_planets.pdf How do I calculate the modulus -180 <= M <= +180? Is it equal to this? mod(number+180,360)-180 Mike
Post a reply to this message