fast-nuclear-sim/src/graphics/mesh/arrays.hpp

22 lines
268 B
C++
Raw Normal View History

2024-01-21 01:36:21 +11:00
#pragma once
#include <glm/vec2.hpp>
#include <glm/vec3.hpp>
namespace sim::graphics::arrays
{
struct vertex
{
2024-01-21 22:33:55 +11:00
unsigned long texid = 0;
glm::vec2 texpos = {0, 0};
glm::vec3 pos = {0, 0, 0};
2024-01-22 23:53:10 +11:00
glm::vec3 normal = {0, 0, 0};
2024-01-21 01:36:21 +11:00
};
2024-01-21 22:33:55 +11:00
void vertex_attrib_pointers();
2024-01-21 01:36:21 +11:00
};