sdl_runtime_compiler git · main
SDL3 game for running and compiling code at runtime
C++ 72.3% C 26.2%git clone https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler.gitwget https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler/archive/sdl_runtime_compiler.tar.gzsrc/systems/freelook_system.hpp raw
#pragma once
#include "utils/globals.hpp"
#include "systems/carry_system.hpp"
namespace
Nimbin
{
struct FreelookState
{
double lerp_t {};
bool active {};
bool lerping{};
};
class FreelookSystem
{
public:
FreelookState state;
void begin ();
void end ();
void update(double dt);
};
} // namespace Nimbin