CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
PathVertex.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
11
13
14 class PathVertex {
15 public:
19
21
25
26 double texCoord;
27
29
34 };
35
36} // namespace CeresEngine::MeshGenerator
Definition PathVertex.hpp:14
PathVertex()
Definition PathVertex.hpp:28
double texCoord
Definition PathVertex.hpp:26
Vector3 normal
Unit length vector perpendicular to the path at this point.
Definition PathVertex.hpp:18
Vector3 tangent
Unit length vector parallel to the path at this point.
Definition PathVertex.hpp:24
Vector3 binormal() const noexcept
Returns tangent x normal.
Definition PathVertex.hpp:33
Vector3 position
Definition PathVertex.hpp:20
Definition AnyGenerator.hpp:12
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25