summaryrefslogtreecommitdiffstats
path: root/game/shared/entity/velocity.hh
blob: c8a1c91105969701fd311919fdb5b7dd854f8257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

namespace world
{
class Dimension;
} // namespace world

namespace entity
{
struct Velocity final {
    glm::fvec3 value;

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