A 2d regular grid.
More...
#include <CeresEngine/Mesh/Generator/GridShape.hpp>
◆ Edges
◆ Impl
◆ Vertices
◆ GridShape()
| CeresEngine::MeshGenerator::GridShape::GridShape |
( |
const Vector2 & |
size = {1.0, 1.0}, |
|
|
const Vector2i & |
segments = {4, 4}, |
|
|
const Vector2i & |
subSegments = {2, 2} |
|
) |
| |
|
explicitnoexcept |
- Parameters
-
| size | A half of the side length of the grid. |
| segments | The Number of cells in the grid. If <1 an empty shape results. |
| subSegments | The number of segment along each cell edge. If <1 an empty shape results. |
◆ edges()
| Edges CeresEngine::MeshGenerator::GridShape::edges |
( |
| ) |
const |
|
noexcept |
◆ vertices()
| Vertices CeresEngine::MeshGenerator::GridShape::vertices |
( |
| ) |
const |
|
noexcept |
◆ mImpl
| Impl CeresEngine::MeshGenerator::GridShape::mImpl |
|
private |
The documentation for this class was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Mesh/Generator/GridShape.hpp