POV-Ray : Newsgroups : povray.advanced-users : Calculating planet positions : Calculating planet positions Server Time
20 Apr 2024 00:42:19 EDT (-0400)
  Calculating planet positions  
From: Mike Horvath
Date: 15 Sep 2018 13:07:46
Message: <5b9d3c62$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.