libgravix2  0.1.0
A fast simulation of attractive forces acting on point-like particles embedded onto the surface of a sphere.
GrvxMissileObservation Struct Reference

Observation of a missile. More...

#include <game.h>

Public Attributes

uint32_t planet_id
 Planet ID if a planet was hit. More...
 
double t
 Tick of observation. More...
 
double lat
 Latitude. More...
 
double lon
 Longitude. More...
 

Detailed Description

Observation of a missile.

Missiles are observed in space and time either by their scheduled ping or when they detonate at the surface of a planet. Self-destructions are unobservable events.

Member Data Documentation

◆ lat

double GrvxMissileObservation::lat

Latitude.

Latitudinal position in radians.

◆ lon

double GrvxMissileObservation::lon

Longitude.

Longitudinal position in radians.

◆ planet_id

uint32_t GrvxMissileObservation::planet_id

Planet ID if a planet was hit.

Planet ID if a planet was hit. Otherwise this is set to a value larger than the number of planets.

◆ t

double GrvxMissileObservation::t

Tick of observation.

Point in time of scheduled ping or detonation at a planet surface.


The documentation for this struct was generated from the following file: