blob: e57e5556e2eb34b906d22ed26f63fd7706521ea1 (
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
|