Solar System OpenGL v1.0.0
Loading...
Searching...
No Matches
orbit_radii.h File Reference

Defines orbit radii for planets. More...

Go to the source code of this file.

Variables

const float MERCURY_ORBIT_RADIUS = 5.0
 Orbital radius of Mercury.
 
const float VENUS_ORBIT_RADIUS = 8.0
 Orbital radius of Venus.
 
const float EARTH_ORBIT_RADIUS = 11.0
 Orbital radius of Earth.
 
const float MARS_ORBIT_RADIUS = 14.0
 Orbital radius of Mars.
 
const float JUPITER_ORBIT_RADIUS = 20.0
 Orbital radius of Jupiter.
 
const float SATURN_ORBIT_RADIUS = 28.0
 Orbital radius of Saturn.
 
const float URANUS_ORBIT_RADIUS = 35.0
 Orbital radius of Uranus.
 
const float NEPTUNE_ORBIT_RADIUS = 40.0
 Orbital radius of Neptune.
 

Detailed Description

Defines orbit radii for planets.

This file contains constants representing the orbital radii of various planets. These values are used to determine the distance of each planet's orbit from the Sun.

Variable Documentation

◆ EARTH_ORBIT_RADIUS

const float EARTH_ORBIT_RADIUS = 11.0

Orbital radius of Earth.

The distance of Earth's orbit from the Sun, represented as a float.

◆ JUPITER_ORBIT_RADIUS

const float JUPITER_ORBIT_RADIUS = 20.0

Orbital radius of Jupiter.

The distance of Jupiter's orbit from the Sun, represented as a float.

◆ MARS_ORBIT_RADIUS

const float MARS_ORBIT_RADIUS = 14.0

Orbital radius of Mars.

The distance of Mars's orbit from the Sun, represented as a float.

◆ MERCURY_ORBIT_RADIUS

const float MERCURY_ORBIT_RADIUS = 5.0

Orbital radius of Mercury.

The distance of Mercury's orbit from the Sun, represented as a float.

◆ NEPTUNE_ORBIT_RADIUS

const float NEPTUNE_ORBIT_RADIUS = 40.0

Orbital radius of Neptune.

The distance of Neptune's orbit from the Sun, represented as a float.

◆ SATURN_ORBIT_RADIUS

const float SATURN_ORBIT_RADIUS = 28.0

Orbital radius of Saturn.

The distance of Saturn's orbit from the Sun, represented as a float.

◆ URANUS_ORBIT_RADIUS

const float URANUS_ORBIT_RADIUS = 35.0

Orbital radius of Uranus.

The distance of Uranus's orbit from the Sun, represented as a float.

◆ VENUS_ORBIT_RADIUS

const float VENUS_ORBIT_RADIUS = 8.0

Orbital radius of Venus.

The distance of Venus's orbit from the Sun, represented as a float.