2022-03-29 16:09:50 +00:00
|
|
|
/* date = March 27th 2022 0:50 pm */
|
|
|
|
|
|
|
|
#ifndef LUMENARIUM_EDITOR_H
|
|
|
|
#define LUMENARIUM_EDITOR_H
|
|
|
|
|
|
|
|
struct Editor
|
|
|
|
{
|
|
|
|
v2 window_dim;
|
|
|
|
Editor_Renderer renderer;
|
2022-04-06 18:29:32 +00:00
|
|
|
UI ui;
|
2022-04-12 05:53:32 +00:00
|
|
|
|
|
|
|
v3 camera_pos;
|
|
|
|
|
|
|
|
Platform_Geometry_Buffer sculpture_geo;
|
|
|
|
Platform_Shader sculpture_shd;
|
|
|
|
Platform_Texture sculpture_tex;
|
2022-03-29 16:09:50 +00:00
|
|
|
};
|
|
|
|
|
2022-04-12 05:53:32 +00:00
|
|
|
// NOTE(PS): call this any time sculpture data is updated if
|
|
|
|
// you want to see the sculpture in the visualizer
|
|
|
|
internal void ed_sculpture_updated(App_State* state);
|
|
|
|
|
2022-03-29 16:09:50 +00:00
|
|
|
#endif //LUMENARIUM_EDITOR_H
|