#pragma once #include #include #include #include #include #include namespace TSR { struct TransformComponent { glm::vec3 pos[2]; glm::quat rot[2]; }; class Game { static entt::registry s_registry; static uint64_t s_sv_frame; static float s_frame_t; static int s_tps; public: static void SvFrame(); static void ClFrame(float frame_t); static entt::registry& Registry() { return s_registry; } static uint64_t FrameNum() { return s_sv_frame; } static float FrameT() { return s_frame_t; } static int TPS() { return s_tps; } }; }