Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
oe::scene::ComplexVertex Concept Reference

#include <OxygenEngine/scene/vertex.h>

Concept definition

template<typename T>
concept oe::scene::ComplexVertex = requires(T t)
{
{t.position} -> std::same_as<glm::vec3&>;
{t.tex_coords} -> std::same_as<glm::vec2&>;
{t.normal} -> std::same_as<glm::vec3&>;
}
Definition vertex.h:32

Detailed Description

Complex Vertex requirement : Position + texture coordinates + normals