CeresEngine
0.2.0
A game development framework
Loading...
Searching...
No Matches
MeshVertex.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
10
#include "
CeresEngine/Math/Math.hpp
"
11
12
namespace
CeresEngine::MeshGenerator
{
13
14
class
MeshVertex
{
15
public
:
16
Vector3
position
;
17
19
Vector3
normal
;
20
22
Vector2
texCoord
;
23
24
MeshVertex
()
noexcept
:
position
{},
normal
{},
texCoord
{} {}
25
};
26
27
}
// namespace CeresEngine::MeshGenerator
Math.hpp
CeresEngine::MeshGenerator::MeshVertex
Definition
MeshVertex.hpp:14
CeresEngine::MeshGenerator::MeshVertex::normal
Vector3 normal
Unit vector perpendicular to the surface.
Definition
MeshVertex.hpp:19
CeresEngine::MeshGenerator::MeshVertex::texCoord
Vector2 texCoord
UV texture coordinates.
Definition
MeshVertex.hpp:22
CeresEngine::MeshGenerator::MeshVertex::position
Vector3 position
Definition
MeshVertex.hpp:16
CeresEngine::MeshGenerator::MeshVertex::MeshVertex
MeshVertex() noexcept
Definition
MeshVertex.hpp:24
CeresEngine::MeshGenerator
Definition
AnyGenerator.hpp:12
CeresEngine::MaterialGraphSocketType::Vector3
@ Vector3
CeresEngine::MaterialGraphSocketType::Vector2
@ Vector2
CeresEngine::hash
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition
Hash.hpp:25
Sources
CeresEngine
Mesh
Generator
MeshVertex.hpp
Generated by
1.9.8