diff options
Diffstat (limited to 'game/shared/entity/transform.hh')
| -rw-r--r-- | game/shared/entity/transform.hh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/game/shared/entity/transform.hh b/game/shared/entity/transform.hh deleted file mode 100644 index f7db095..0000000 --- a/game/shared/entity/transform.hh +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once
-
-#include "shared/types.hh"
-
-namespace world
-{
-class Dimension;
-} // namespace world
-
-namespace entity
-{
-struct Transform {
- chunk_pos chunk;
- glm::fvec3 local;
- glm::fvec3 angles;
-
-public:
- // Updates entity::Transform values so that
- // the local translation field is always within
- // local coodrinates; [floating-point precision]
- static void fixed_update(world::Dimension* dimension);
-};
-} // namespace entity
-
-namespace entity::client
-{
-// Client-side only - interpolated and previous transform
-struct TransformIntr final : public Transform {};
-struct TransformPrev final : public Transform {};
-} // namespace entity::client
|
