SimpleEngine/include/simpleengine/vertex.h

27 lines
526 B
C
Raw Normal View History

#pragma once
#ifdef __linux__
#include <GL/glew.h>
#include <GL/gl.h>
#elif
#include <gl/glew.h>
#include <gl/gl.h>
#endif
#include <glm/glm.hpp>
2021-11-28 18:21:25 +00:00
#include "vector.h"
namespace simpleengine {
class Vertex {
public:
2021-11-28 18:21:25 +00:00
//glm::vec3 position;
simpleengine::Vectorf position;
glm::vec3 color;
glm::vec2 tex_coord;
2021-12-07 05:17:04 +00:00
Vertex(simpleengine::Vectorf position, glm::vec3 color, glm::vec2 tex_coord) : position(position), color(color), tex_coord(tex_coord) {
}
};
}