summaryrefslogtreecommitdiffstats
path: root/src/game/shared/transform.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/shared/transform.hh')
-rw-r--r--src/game/shared/transform.hh25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/game/shared/transform.hh b/src/game/shared/transform.hh
deleted file mode 100644
index 1a1be0e..0000000
--- a/src/game/shared/transform.hh
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef SHARED_TRANSFORM_HH
-#define SHARED_TRANSFORM_HH 1
-#pragma once
-
-#include "shared/types.hh"
-
-class Dimension;
-
-struct TransformComponent {
- chunk_pos chunk;
- glm::fvec3 local;
- glm::fvec3 angles;
-
-public:
- // Updates TransformComponent values so that
- // the local translation field is always within
- // local coodrinates; [floating-point precision]
- static void fixed_update(Dimension* dimension);
-};
-
-// Client-side only - interpolated and previous transform
-struct TransformComponentIntr final : public TransformComponent {};
-struct TransformComponentPrev final : public TransformComponent {};
-
-#endif // SHARED_TRANSFORM_HH