summaryrefslogtreecommitdiffstats
path: root/game/shared/gravity.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
committeruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
commit88c01588aa0830e219eaa62588839e4d1e2883ce (patch)
tree602bb27dd3399aab4aae8c19630e3b7a8dac824b /game/shared/gravity.cc
parent99cf6cca8dbbc1e563c10cf0167432d3d8af9783 (diff)
downloadvoxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.tar.bz2
voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.zip
Clang-format the entire source code
Diffstat (limited to 'game/shared/gravity.cc')
-rw-r--r--game/shared/gravity.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/shared/gravity.cc b/game/shared/gravity.cc
index 66b6589..068f658 100644
--- a/game/shared/gravity.cc
+++ b/game/shared/gravity.cc
@@ -1,4 +1,5 @@
#include "shared/pch.hh"
+
#include "shared/gravity.hh"
#include "shared/dimension.hh"
@@ -6,7 +7,7 @@
#include "shared/stasis.hh"
#include "shared/velocity.hh"
-void GravityComponent::fixed_update(Dimension *dimension)
+void GravityComponent::fixed_update(Dimension* dimension)
{
auto fixed_acceleration = globals::fixed_frametime * dimension->get_gravity();
auto group = dimension->entities.group<GravityComponent>(entt::get<VelocityComponent>, entt::exclude<StasisComponent>);