#include <grid_shape.hpp>
A 2d regular grid.
Definition at line 16 of file grid_shape.hpp.
◆ edges_t
◆ vertices_t
◆ grid_shape_t()
grid_shape_t::grid_shape_t |
( |
const gml::dvec2 & | size = {1.0, 1.0}, |
|
|
const gml::ivec2 & | segments = {4, 4}, |
|
|
const gml::ivec2 & | 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. |
Definition at line 5 of file grid_shape.cpp.
◆ edges()
◆ vertices()
The documentation for this class was generated from the following files:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/generator/grid_shape.hpp
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine/engine/rendering/generator/grid_shape.cpp