summaryrefslogtreecommitdiff
path: root/bowshock/source/logic/Ship/net_mass.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bowshock/source/logic/Ship/net_mass.cxx')
-rw-r--r--bowshock/source/logic/Ship/net_mass.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/bowshock/source/logic/Ship/net_mass.cxx b/bowshock/source/logic/Ship/net_mass.cxx
new file mode 100644
index 0000000..bfe941d
--- /dev/null
+++ b/bowshock/source/logic/Ship/net_mass.cxx
@@ -0,0 +1,9 @@
+// Copyright 2022-2023 Gabriel Bjørnager Jensen.
+
+#include <bow/logic.hxx>
+
+auto bow::Ship::net_mass() noexcept -> double {
+ double mass = 0x1p0 / ::bow::MASS_MODIFIER;
+
+ return mass;
+}