WiP
This commit is contained in:
parent
62281699ea
commit
7037abbcb6
11 changed files with 114 additions and 31 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue