Represents a grid component used for rendering a grid overlay.
More...
#include <Grid.hpp>
|
| | Grid (float s=1.f, float sz=100.f, glm::vec4 c={ 0.5f, 0.5f, 0.5f, 1.f }) |
| | Construct a new Grid object.
|
Represents a grid component used for rendering a grid overlay.
◆ Grid()
| Grid::Grid |
( |
float | s = 1.f, |
|
|
float | sz = 100.f, |
|
|
glm::vec4 | c = { 0.5f,0.5f,0.5f,1.f } ) |
|
inline |
Construct a new Grid object.
- Parameters
-
| s | Distance between lines. |
| sz | Render area around the camera. |
| c | Color of the grid lines. |
◆ color
| glm::vec4 Grid::color = { 0.5f, 0.5f, 0.5f, 1.0f } |
◆ colorID
◆ meshID
◆ size
| float Grid::size = 100.0f |
◆ spacing
| float Grid::spacing = 1.0f |
The documentation for this struct was generated from the following file: