|
vgl 1.0.0
Virtual Globe Library: API reference
|
#include <vgl/render.h>
Public Attributes | |
| float | direction [3] |
| float | magnitude |
| float | color [3] |
| float | reserved |
A star, for the backends that draw a star field behind the sky (design document, section 7.6). The host supplies the stars, from a catalogue of its choice: vgl ships none.
| float vgl_star::direction[3] |
Unit direction in the celestial frame of J2000: x towards the vernal equinox, z towards the north celestial pole (vgl_earth_rotation_angle_get turns it into ECEF).
| float vgl_star::magnitude |
Apparent visual magnitude: about -1.5 for Sirius, 6.5 for the faintest seen by eye.
| float vgl_star::color[3] |
Linear RGB, 1 for the brightest channel.
| float vgl_star::reserved |
0