libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Data layout for the attributes of a single vertex of the mesh. More...
#include <donut/graphics/Model.hpp>
Public Attributes | |
vec3 | position |
Position relative to the model origin. More... | |
vec3 | normal |
Unit vector pointing away from the vertex surface. More... | |
vec3 | tangent |
Unit vector pointing in some direction along the vertex surface. More... | |
vec3 | bitangent |
Unit vector that is the cross product of the normal and the tangent. More... | |
vec2 | textureCoordinates |
Texture UV coordinates that map to this vertex. More... | |
Data layout for the attributes of a single vertex of the mesh.
vec3 donut::graphics::Model::Object::Vertex::position |
Position relative to the model origin.
vec3 donut::graphics::Model::Object::Vertex::normal |
Unit vector pointing away from the vertex surface.
vec3 donut::graphics::Model::Object::Vertex::tangent |
Unit vector pointing in some direction along the vertex surface.
vec3 donut::graphics::Model::Object::Vertex::bitangent |
Unit vector that is the cross product of the normal and the tangent.
vec2 donut::graphics::Model::Object::Vertex::textureCoordinates |
Texture UV coordinates that map to this vertex.