initial commit
This commit is contained in:
30
bin/layers/opengl_panel/opengl_panel.hpp
Executable file
30
bin/layers/opengl_panel/opengl_panel.hpp
Executable file
@@ -0,0 +1,30 @@
|
||||
#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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user