blob: 45a28582e9e629615639e91d9b44b64afffde24d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef SHARED_VELOCITY_HH
#define SHARED_VELOCITY_HH 1
#pragma once
class Dimension;
struct VelocityComponent final {
glm::fvec3 value;
public:
// Updates entities TransformComponent values
// according to velocities multiplied by fixed_frametime.
// NOTE: This system was previously called inertial
static void fixed_update(Dimension* dimension);
};
#endif /* SHARED_VELOCITY_HH */
|