#include <Vertex.hpp>
|
| Vertex ()=default |
| Default constructor. More...
|
|
| Vertex (const glm::vec3 &pos) |
| Construct the vertex from its position. More...
|
|
| Vertex (const glm::vec3 &pos, const glm::vec2 &tc) |
| Construct the vertex from its position and texture coordinates. More...
|
|
| Vertex (const glm::vec3 &pos, const glm::vec3 &nor) |
| Construct the vertex from its position and normal vector. More...
|
|
| Vertex (const glm::vec3 &pos, const glm::vec2 &tc, const glm::vec3 &nor) |
| Construct the vertex from its position, texture coordinates and normal vector. More...
|
|
Definition at line 35 of file Vertex.hpp.
jop::Vertex::Vertex |
( |
const glm::vec3 & |
pos | ) |
|
Construct the vertex from its position.
- Parameters
-
jop::Vertex::Vertex |
( |
const glm::vec3 & |
pos, |
|
|
const glm::vec2 & |
tc |
|
) |
| |
Construct the vertex from its position and texture coordinates.
- Parameters
-
jop::Vertex::Vertex |
( |
const glm::vec3 & |
pos, |
|
|
const glm::vec3 & |
nor |
|
) |
| |
Construct the vertex from its position and normal vector.
- Parameters
-
jop::Vertex::Vertex |
( |
const glm::vec3 & |
pos, |
|
|
const glm::vec2 & |
tc, |
|
|
const glm::vec3 & |
nor |
|
) |
| |
Construct the vertex from its position, texture coordinates and normal vector.
- Parameters
-
glm::vec3 jop::Vertex::normal |
Normal vector of the vertex.
Definition at line 73 of file Vertex.hpp.
glm::vec3 jop::Vertex::position |
3D position of the vertex
Definition at line 71 of file Vertex.hpp.
glm::vec2 jop::Vertex::texCoords |
Coordinates of the texture's pixel to map to vertex.
Definition at line 72 of file Vertex.hpp.
The documentation for this class was generated from the following file: