summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/ballistics.h5
-rw-r--r--include/context.h2
-rw-r--r--include/drag_model.h6
3 files changed, 12 insertions, 1 deletions
diff --git a/include/ballistics.h b/include/ballistics.h
index 470c7a6..84a883d 100644
--- a/include/ballistics.h
+++ b/include/ballistics.h
@@ -13,4 +13,9 @@ double calculate_air_density(double temperature,
double pressure,
double relative_humidity);
+double retard(DragModel ballistic_model,
+ double ballistic_coefficient,
+ double velocity,
+ double temperature);
+
#endif
diff --git a/include/context.h b/include/context.h
index a2f651f..65b4585 100644
--- a/include/context.h
+++ b/include/context.h
@@ -16,7 +16,7 @@ typedef enum {
BC_G5,
BC_G6,
BC_G7,
-} BallisticModel;
+} DragModel;
typedef enum {
ICAO,
diff --git a/include/drag_model.h b/include/drag_model.h
new file mode 100644
index 0000000..baf5f72
--- /dev/null
+++ b/include/drag_model.h
@@ -0,0 +1,6 @@
+#ifndef DRAG_MODEL_H
+#define DRAG_MODEL_H
+
+
+
+#endif