vertex_engine/bin/layers/opengl_panel/opengl_panel.hpp

31 lines
414 B
C++
Raw Normal View History

2024-05-15 09:09:36 +03:00
#pragma once
#include "VE.hpp"
namespace sandbox
{
class cube : public VE::opengl
{
public:
cube();
~cube() = default;
public:
void set_scale(float val);
void set_position(glm::vec3 val);
void set_color(glm::vec4 val);
void use();
void render();
};
class opengl_panel : public VE::layer
{
VE_FN_OVERIDE();
cube cb_1;
cube cb_2;
};
}