|
sculpto
|
#include <vertex.h>
Public Member Functions | |
| vertex ()=default | |
| vertex (const vec3 &Position, const vec3 &Normal, const vec3 &Tangent, const vec3 &Bitangent, const vec2 &TexCoords) | |
| vertex (const vec3 &Position, const vec3 &Normal, const vec2 &TexCoords) | |
Static Public Member Functions | |
| static vertex_layout | GetVertexLayout () |
Public Attributes | |
| vec3 | Position {} |
| vec3 | Normal {} |
| vec3 | Tangent {} |
| vec3 | Bitangent {} |
| vec2 | TexCoords {} |
|
default |
Vertex texture cordinate.
Vertex default constructor.
|
inline |
| Position | - vertex position. |
| Normal | - vertex surface normal. |
| Tangent,Bitangent | - vertex surface tangent space basis vectors. |
| TexCoords | - vertex texture coordinates. |
| Position | - vertex position. |
| Normal | - vertex surface normal. |
| TexCoords | - vertex texture coordinates. |
|
inlinestatic |
| vec3 scl::vertex::Bitangent {} |
| vec3 scl::vertex::Tangent {} |
| vec2 scl::vertex::TexCoords {} |