#ifndef editor_hpp
#define editor_hpp

#include "world.hpp"

struct Line_Renderer;
struct Model_Instance;
struct Physics_Debughook;
struct UI;

struct Editor_Settings {
	bool pause_physics;
	bool debug_physics;
	bool debug_sat;
};

void init_editor(Device* d, UI* ui, World* w);
void deinit_editor();
void editor_on_select(Entity_Id e, int m);
void editor_update(const App& app, const Camera& cam);
void editor_draw(Line_Renderer& lr);
Editor_Settings& editor_settings();

Physics_Debughook* editor_physics_debughook();

#endif