A basic vertex structure.
More...
#include <mesh.h>
|
| Vertex (glm::vec3 p, glm::vec3 n) |
| Vertex (glm::vec3 p, glm::vec3 n, glm::vec3 tc) |
| Vertex (glm::vec3 p, glm::vec3 n, glm::vec3 t, glm::vec3 tc) |
| Vertex (glm::vec3 p, glm::vec3 n, glm::vec3 t, glm::vec4 c, glm::vec3 tc) |
A basic vertex structure.
Definition at line 16 of file mesh.h.
◆ Vertex() [1/5]
sgltk::Vertex::Vertex |
( |
| ) |
|
|
inline |
◆ Vertex() [2/5]
sgltk::Vertex::Vertex |
( |
glm::vec3 | p, |
|
|
glm::vec3 | n ) |
|
inline |
- Parameters
-
Definition at line 58 of file mesh.h.
◆ Vertex() [3/5]
sgltk::Vertex::Vertex |
( |
glm::vec3 | p, |
|
|
glm::vec3 | n, |
|
|
glm::vec3 | tc ) |
|
inline |
- Parameters
-
Definition at line 77 of file mesh.h.
◆ Vertex() [4/5]
sgltk::Vertex::Vertex |
( |
glm::vec3 | p, |
|
|
glm::vec3 | n, |
|
|
glm::vec3 | t, |
|
|
glm::vec3 | tc ) |
|
inline |
- Parameters
-
Definition at line 97 of file mesh.h.
◆ Vertex() [5/5]
sgltk::Vertex::Vertex |
( |
glm::vec3 | p, |
|
|
glm::vec3 | n, |
|
|
glm::vec3 | t, |
|
|
glm::vec4 | c, |
|
|
glm::vec3 | tc ) |
|
inline |
- Parameters
-
Definition at line 118 of file mesh.h.
◆ bitangent
glm::vec4 sgltk::Vertex::bitangent |
◆ color
glm::vec4 sgltk::Vertex::color |
◆ normal
glm::vec3 sgltk::Vertex::normal |
◆ position
glm::vec4 sgltk::Vertex::position |
◆ tangent
glm::vec4 sgltk::Vertex::tangent |
◆ tex_coord
glm::vec3 sgltk::Vertex::tex_coord |
The documentation for this struct was generated from the following file:
- /home/fstdb/proj/sgltk_example/sgltk/src/mesh.h