22 lines
268 B
C++
22 lines
268 B
C++
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <glm/vec2.hpp>
|
||
|
#include <glm/vec3.hpp>
|
||
|
|
||
|
namespace sim::graphics::arrays
|
||
|
{
|
||
|
|
||
|
struct vertex
|
||
|
{
|
||
|
unsigned long texid = 0;
|
||
|
glm::vec2 texpos = {0, 0};
|
||
|
glm::vec3 pos = {0, 0, 0};
|
||
|
glm::vec3 normal = {0, 0, 0};
|
||
|
};
|
||
|
|
||
|
void vertex_attrib_pointers();
|
||
|
|
||
|
};
|
||
|
|