MOS
|
Vertex structure, supported by the renderer. More...
#include <vertex.hpp>
Public Member Functions | |
void | apply_transform (const glm::mat4 &transform) |
Apply a transformation matrix to the vertex. | |
Public Attributes | |
glm::vec3 | position = glm::vec3(0.0f) |
glm::vec3 | normal = glm::vec3(0.0f) |
glm::vec3 | tangent = glm::vec3(0.0f) |
glm::vec2 | uv = glm::vec2(0.0f) |
Texture coordinate. More... | |
Vertex structure, supported by the renderer.
glm::vec2 mos::gfx::Vertex::uv = glm::vec2(0.0f) |
Texture coordinate.