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

Defines radii for celestial bodies. More...

Go to the source code of this file.

Variables

const float SUN_RADIUS = 2.0
 Radius of the Sun.
 
const float MERCURY_RADIUS = 0.2
 Radius of Mercury.
 
const float VENUS_RADIUS = 0.4
 Radius of Venus.
 
const float EARTH_RADIUS = 0.45
 Radius of Earth.
 
const float MARS_RADIUS = 0.3
 Radius of Mars.
 
const float JUPITER_RADIUS = 1.0
 Radius of Jupiter.
 
const float SATURN_RADIUS = 0.85
 Radius of Saturn.
 
const float URANUS_RADIUS = 0.5
 Radius of Uranus.
 
const float NEPTUNE_RADIUS = 0.5
 Radius of Neptune.
 

Detailed Description

Defines radii for celestial bodies.

This file contains constants representing the radii of various planets and the Sun. These values are used to determine the size of each celestial body in the application.

Variable Documentation

◆ EARTH_RADIUS

const float EARTH_RADIUS = 0.45

Radius of Earth.

The radius of Earth, represented as a float.

◆ JUPITER_RADIUS

const float JUPITER_RADIUS = 1.0

Radius of Jupiter.

The radius of Jupiter, represented as a float.

◆ MARS_RADIUS

const float MARS_RADIUS = 0.3

Radius of Mars.

The radius of Mars, represented as a float.

◆ MERCURY_RADIUS

const float MERCURY_RADIUS = 0.2

Radius of Mercury.

The radius of Mercury, represented as a float.

◆ NEPTUNE_RADIUS

const float NEPTUNE_RADIUS = 0.5

Radius of Neptune.

The radius of Neptune, represented as a float.

◆ SATURN_RADIUS

const float SATURN_RADIUS = 0.85

Radius of Saturn.

The radius of Saturn, represented as a float.

◆ SUN_RADIUS

const float SUN_RADIUS = 2.0

Radius of the Sun.

The radius of the Sun, represented as a float.

◆ URANUS_RADIUS

const float URANUS_RADIUS = 0.5

Radius of Uranus.

The radius of Uranus, represented as a float.

◆ VENUS_RADIUS

const float VENUS_RADIUS = 0.4

Radius of Venus.

The radius of Venus, represented as a float.