Oxygen Engine
Modern C++ 3D Engine using OpenGL
|
#include <OxygenEngine/scene/vertex.h>
Public Member Functions | |
bool | operator== (const Vertex &other) const |
Public Attributes | |
glm::vec3 | position = glm::vec3(0.0) |
glm::vec2 | tex_coords = glm::vec2(0.0) |
glm::vec2 | lm_coords = glm::vec2(0.0) |
glm::vec3 | normal = glm::vec3(0.0) |
glm::vec3 | tangent = glm::vec3(0.0) |
glm::vec3 | bitangent = glm::vec3(0.0) |
Friends | |
Vertex | operator* (const Vertex &lhs, const float ratio) |
Vertex | operator+ (const Vertex &lhs, const Vertex &rhs) |
Vertex for classic static meshes
glm::vec3 oe::scene::Vertex::bitangent = glm::vec3(0.0) |
surface bitangent
glm::vec2 oe::scene::Vertex::lm_coords = glm::vec2(0.0) |
Secondary texture coordinates, could be used as lightmap coords
glm::vec3 oe::scene::Vertex::normal = glm::vec3(0.0) |
Surface normal
glm::vec3 oe::scene::Vertex::position = glm::vec3(0.0) |
Vertex position
glm::vec3 oe::scene::Vertex::tangent = glm::vec3(0.0) |
Surface tangent
glm::vec2 oe::scene::Vertex::tex_coords = glm::vec2(0.0) |
Texture coordinates