CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
HelixPath.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 "ParametricPath.hpp"
11
13
16 class HelixPath {
17 private:
20
21 public:
27 HelixPath(double radius = 1.0, double size = 1.0, int segments = 32, double start = 0.0, double sweep = radians(720.0));
28
29 using Edges = typename Impl::Edges;
31
32 using Vertices = typename Impl::Vertices;
34 };
35
36} // namespace CeresEngine::MeshGenerator
A helix cented at origin aligned along the z-axis.
Definition HelixPath.hpp:16
Vertices vertices() const noexcept
Definition HelixPath.hpp:33
HelixPath(double radius=1.0, double size=1.0, int segments=32, double start=0.0, double sweep=radians(720.0))
Impl mParametricPath
Definition HelixPath.hpp:19
typename Impl::Vertices Vertices
Definition HelixPath.hpp:32
Edges edges() const noexcept
Definition HelixPath.hpp:30
typename Impl::Edges Edges
Definition HelixPath.hpp:29
Path generated by evaluating callback functions at even intervals.
Definition ParametricPath.hpp:18
Definition AnyGenerator.hpp:12
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25