CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Triangle.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 Triangle {
15 public:
17 Vector3i vertices;
18
20
21 explicit Triangle(const Vector3i& vertices) noexcept : vertices{vertices} {}
22 };
23
24} // namespace CeresEngine::MeshGenerator
Definition Triangle.hpp:14
Vector3i vertices
Zero based indices of the triangle vertices in counterclockwise order.
Definition Triangle.hpp:17
Triangle() noexcept
Definition Triangle.hpp:19
Triangle(const Vector3i &vertices) noexcept
Definition Triangle.hpp:21
Definition AnyGenerator.hpp:12
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25