|
vgl 1.0.0
Virtual Globe Library: API reference
|
#include <vgl/context.h>
Public Attributes | |
| uint32_t | struct_size |
| uint32_t | reserved |
| double | distance |
| vgl_dvec3 | position |
| vgl_geodetic | geodetic |
Where a ray meets the terrain. Set struct_size; the library writes the fields that fit within it.
| uint32_t vgl_ray_hit::struct_size |
| uint32_t vgl_ray_hit::reserved |
| double vgl_ray_hit::distance |
Along the ray from its origin, in metres.
| vgl_dvec3 vgl_ray_hit::position |
ECEF, in metres.
| vgl_geodetic vgl_ray_hit::geodetic |
The same position, with its height above the ellipsoid.