diff options
| author | hybrid <hybrid@hybridlabs.pro> | 2026-08-10 06:04:25 +0300 |
|---|---|---|
| committer | hybrid <hybrid@hybridlabs.pro> | 2026-08-10 06:04:25 +0300 |
| commit | 7ad9c60cdb981d51756755dca4603e77611a0f61 (patch) | |
| tree | 70eb226e794015f6207eb821c5b8776f14584837 /include/context.h | |
| parent | 1d1796c97867ada2211a39b313ef6398297c7b8f (diff) | |
| download | a3catragmx-7ad9c60cdb981d51756755dca4603e77611a0f61.tar.gz a3catragmx-7ad9c60cdb981d51756755dca4603e77611a0f61.tar.bz2 a3catragmx-7ad9c60cdb981d51756755dca4603e77611a0f61.zip | |
upd: tmp
Diffstat (limited to 'include/context.h')
| -rw-r--r-- | include/context.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/include/context.h b/include/context.h index dd207bb..ce5f913 100644 --- a/include/context.h +++ b/include/context.h @@ -5,7 +5,6 @@ #include <stdlib.h> #include <stdbool.h> -#include "ace.h" #include "drag_model.h" typedef enum { @@ -55,6 +54,24 @@ typedef struct { double w2; } Windage; +typedef struct RangeCardRecord RangeCardRecord; +struct RangeCardRecord { + size_t n; + double range; + double elevation; + Windage windage; + double lead; + double time_of_flight; + double bullet_speed; + double kinetic_energy; +}; + +typedef struct RangeCard RangeCard; +struct RangeCard { + RangeCardRecord *card; + size_t records; +}; + typedef struct { double elev; Windage windage; @@ -65,7 +82,7 @@ typedef struct { double coriolis_vdrift; double coriolis_hdrift; double spin_drift; - double *range_card; + RangeCard *range_card; } ATragMXSolution; #endif |
