diff options
| -rw-r--r-- | data/shaders/chunk_quad.frag | 2 | ||||
| -rw-r--r-- | data/shaders/chunk_quad.vert | 2 | ||||
| -rw-r--r-- | data/shaders/outline.frag | 2 | ||||
| -rw-r--r-- | data/shaders/outline.vert | 2 | ||||
| -rw-r--r-- | game/shared/feature.hh | 2 |
5 files changed, 6 insertions, 4 deletions
diff --git a/data/shaders/chunk_quad.frag b/data/shaders/chunk_quad.frag index 5a08099..218da74 100644 --- a/data/shaders/chunk_quad.frag +++ b/data/shaders/chunk_quad.frag @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: CC-BY-SA-4.0 +/* SPDX-License-Identifier: CC-BY-SA-4.0 */ #version 330 core #pragma variant[0] WORLD_CURVATURE #pragma variant[1] WORLD_FOG diff --git a/data/shaders/chunk_quad.vert b/data/shaders/chunk_quad.vert index 50b343a..a83fb40 100644 --- a/data/shaders/chunk_quad.vert +++ b/data/shaders/chunk_quad.vert @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: CC-BY-SA-4.0 +/* SPDX-License-Identifier: CC-BY-SA-4.0 */ #version 330 core #pragma variant[0] WORLD_CURVATURE #pragma variant[1] WORLD_FOG diff --git a/data/shaders/outline.frag b/data/shaders/outline.frag index d8cae02..5a2d892 100644 --- a/data/shaders/outline.frag +++ b/data/shaders/outline.frag @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: CC-BY-SA-4.0 +/* SPDX-License-Identifier: CC-BY-SA-4.0 */ #version 330 core out vec4 frag_Target; diff --git a/data/shaders/outline.vert b/data/shaders/outline.vert index 07626af..9bbdffc 100644 --- a/data/shaders/outline.vert +++ b/data/shaders/outline.vert @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: CC-BY-SA-4.0 +/* SPDX-License-Identifier: CC-BY-SA-4.0 */ #version 330 core #pragma variant[0] WORLD_CURVATURE diff --git a/game/shared/feature.hh b/game/shared/feature.hh index eb7cf2a..f5fe73b 100644 --- a/game/shared/feature.hh +++ b/game/shared/feature.hh @@ -11,6 +11,8 @@ class Feature final : public std::vector<std::pair<voxel_pos, voxel_id>> { public: explicit Feature(void) = default; virtual ~Feature(void) = default; + +public: void place(const voxel_pos &vpos, Dimension *dimension, bool overwrite = false) const; void place(const voxel_pos &vpos, const chunk_pos &cpos, VoxelStorage &voxels, bool overwrite = false) const; }; |
