This commit is contained in:
Hartmut Seichter 2019-01-31 16:54:12 +01:00
parent 62281699ea
commit 7037abbcb6
11 changed files with 114 additions and 31 deletions

View file

@ -1,10 +1,8 @@
#include "pw/core/size.hpp"
#include "pw/core/matrix.hpp"
#include "pw/core/mesh.hpp"
#include "pw/core/timer.hpp"
#include "pw/core/debug.hpp"
#include "pw/visual/pipeline.hpp"
#include "pw/visual/shader.hpp"
@ -19,7 +17,6 @@ class queue {
// vector<commands> ...
};
struct triangle_renderer
{
GLuint vbo = 0;
@ -35,11 +32,8 @@ struct triangle_renderer
{
}
void setup()
{
mesh::vertex3array_t vertices = {
{ 0.0f, 0.5f, 0.0f}
,{ 0.5f, -0.5f, 0.0f}