summaryrefslogtreecommitdiffstats
path: root/src/game/shared/entity/velocity.hh
blob: 69fce9e06a48a0faacc38f5f0a8cb4fc15490eef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

class Dimension;

struct Velocity final {
    glm::fvec3 value;

public:
    // Updates entities Transform values
    // according to velocities multiplied by fixed_frametime.
    // NOTE: This system was previously called inertial
    static void fixed_update(Dimension* dimension);
};