CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
TriangleMesh.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 "MeshVertex.hpp"
11#include "Triangle.hpp"
13
15
73
74} // namespace CeresEngine::MeshGenerator
Definition MeshVertex.hpp:14
Definition Triangle.hpp:14
int col_
Definition TriangleMesh.hpp:29
int row_
Definition TriangleMesh.hpp:28
const TriangleMesh * mMesh
Definition TriangleMesh.hpp:27
A triangular mesh on the xy -plane.
Definition TriangleMesh.hpp:18
Vector3 normal_
Definition TriangleMesh.hpp:69
Vector3 v0_
Definition TriangleMesh.hpp:67
Triangles triangles() const noexcept
Vertices vertices() const noexcept
Vector3 v2_
Definition TriangleMesh.hpp:67
Vector3 v1_
Definition TriangleMesh.hpp:67
int mSegments
Definition TriangleMesh.hpp:71
Definition AnyGenerator.hpp:12
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25