summaryrefslogtreecommitdiff
path: root/gfx/models/vertex.hpp
blob: 095c82f214db37bc806002efc8707d74866a8e61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <glm/glm.hpp>

class Vertex {
public:
	constexpr Vertex(glm::vec3 pos, glm::vec2 texCoord, glm::vec3 normal) :
		pos {std::move(pos)}, texCoord {std::move(texCoord)}, normal {std::move(normal)}
	{
	}

	glm::vec3 pos;
	glm::vec2 texCoord;
	glm::vec3 normal;
};