Unravel Engine C++ Reference
Loading...
Searching...
No Matches
mesh_vertex.hpp
Go to the documentation of this file.
1
#ifndef GENERATOR_MESHVERTEX_HPP
2
#define GENERATOR_MESHVERTEX_HPP
3
4
#include "
math.hpp
"
5
6
namespace
generator
7
{
8
9
class
mesh_vertex_t
10
{
11
public
:
12
gml::dvec3
position
;
13
15
gml::dvec3
normal
;
16
18
gml::dvec2
tex_coord
;
19
20
mesh_vertex_t
() noexcept :
position
{},
normal
{},
tex_coord
{}
21
{
22
}
23
};
24
}
// namespace generator
25
26
#endif
generator::mesh_vertex_t
Definition
mesh_vertex.hpp:10
generator::mesh_vertex_t::position
gml::dvec3 position
Definition
mesh_vertex.hpp:12
generator::mesh_vertex_t::mesh_vertex_t
mesh_vertex_t() noexcept
Definition
mesh_vertex.hpp:20
generator::mesh_vertex_t::tex_coord
gml::dvec2 tex_coord
UV texture coordinates.
Definition
mesh_vertex.hpp:18
generator::mesh_vertex_t::normal
gml::dvec3 normal
Unit vector perpendicular to the surface.
Definition
mesh_vertex.hpp:15
math.hpp
generator
Definition
any_generator.hpp:7
UnravelEngine
UnravelEngine
engine
engine
rendering
generator
mesh_vertex.hpp
Generated by
1.12.0