#pragma once #include "shader.hpp" #include "shape.hpp" #include "texture.hpp" class App { Sampler sampler; Shader shader; Shader shader_color; Shader shader_uv; Plane plane; std::vector> shapes_list; Circle circle, circle2, circle3, circle4; Rounded rounded; Slice9 slice; Texture2D tex; YGNodeRef y_root; public: static App I; float width; float height; void init(); void create(); void update(float dt); void resize(float w, float h); void update_layout(); };