CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
ParametricMesh.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"
12
14
16
68
69} // namespace CeresEngine::MeshGenerator
Definition MeshVertex.hpp:14
const ParametricMesh * mMesh
Definition ParametricMesh.hpp:29
Vector2i i_
Definition ParametricMesh.hpp:30
bool even_
Definition ParametricMesh.hpp:31
A mesh with values evaluated using a callback function.
Definition ParametricMesh.hpp:18
Triangles triangles() const noexcept
Vector2i mSegments
Definition ParametricMesh.hpp:64
Function< MeshVertex(const Vector2 &t) const > mEval
Definition ParametricMesh.hpp:62
Vector2 mDelta
Definition ParametricMesh.hpp:66
Definition Triangle.hpp:14
Definition AnyGenerator.hpp:12
FunctionBase< true, true, fu2::capacity_default, true, false, Signatures... > Function
An owning copyable function wrapper for arbitrary callable types.
Definition Function.hpp:54
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25