Unravel Engine C++ Reference
Loading...
Searching...
No Matches
path_vertex.hpp
Go to the documentation of this file.
1#ifndef GENERATOR_PATHVERTEX_HPP
2#define GENERATOR_PATHVERTEX_HPP
3
4#include "math.hpp"
5
6namespace generator
7{
8
10{
11public:
14 gml::dvec3 normal;
15
16 gml::dvec3 position;
17
20 gml::dvec3 tangent;
21
22 double tex_coord;
23
25 {
26 }
27
31 gml::dvec3 binormal() const noexcept
32 {
33 return cross(tangent, normal);
34 }
35};
36} // namespace generator
37
38#endif
gml::dvec3 binormal() const noexcept