le2d v0.4.3
2D game engine framework
 
Loading...
Searching...
No Matches
vertex.hpp
Go to the documentation of this file.
1#pragma once
2#include <glm/vec2.hpp>
3#include <glm/vec4.hpp>
4
5namespace le {
7struct Vertex {
8 glm::vec2 position{};
9 glm::vec4 color{1.0f};
10 glm::vec2 uv{};
11};
12} // namespace le
Definition animation.hpp:8
Drawable vertex.
Definition vertex.hpp:7
glm::vec2 uv
Definition vertex.hpp:10
glm::vec2 position
Definition vertex.hpp:8
glm::vec4 color
Definition vertex.hpp:9