summaryrefslogtreecommitdiffhomepage
path: root/draw
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-12 00:45:45 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-12 00:59:07 +0100
commit692edd513bce851a988b0f04209adc480e48fe1f (patch)
tree5dac466dd3e8da8a7f943d1bc4df0848a1bea8b5 /draw
parent1a84f009b39c070a8d4f4931e2376936190a161e (diff)
cc
Diffstat (limited to 'draw')
-rw-r--r--draw/anim.hpp5
-rw-r--r--draw/box.hpp2
-rw-r--r--draw/ground.hpp2
-rw-r--r--draw/quad-floor.hpp2
-rw-r--r--draw/quad-wall-n.hpp2
-rw-r--r--draw/quad-wall-w.hpp2
-rw-r--r--draw/quad.hpp2
-rw-r--r--draw/wall.hpp2
8 files changed, 10 insertions, 9 deletions
diff --git a/draw/anim.hpp b/draw/anim.hpp
index 03bb10c4..18e57333 100644
--- a/draw/anim.hpp
+++ b/draw/anim.hpp
@@ -22,7 +22,7 @@ struct chunk;
struct clickable;
struct object;
-struct anim_mesh final
+struct anim_mesh
{
anim_mesh();
@@ -36,7 +36,8 @@ struct anim_mesh final
private:
static std::array<UnsignedShort, 6> make_index_array();
- struct vertex_data final {
+ struct vertex_data
+ {
Vector3 position;
Vector2 texcoords;
float depth = -1;
diff --git a/draw/box.hpp b/draw/box.hpp
index a6608e00..26e5485f 100644
--- a/draw/box.hpp
+++ b/draw/box.hpp
@@ -6,7 +6,7 @@
namespace floormat::wireframe {
-struct box final
+struct box
{
box(Vector3 center, Vector3 size, float line_width);
diff --git a/draw/ground.hpp b/draw/ground.hpp
index b960e8b1..c3569121 100644
--- a/draw/ground.hpp
+++ b/draw/ground.hpp
@@ -5,7 +5,7 @@ namespace floormat {
struct tile_shader;
struct chunk;
-struct ground_mesh final
+struct ground_mesh
{
ground_mesh();
diff --git a/draw/quad-floor.hpp b/draw/quad-floor.hpp
index 84ab17e9..b289ab84 100644
--- a/draw/quad-floor.hpp
+++ b/draw/quad-floor.hpp
@@ -8,7 +8,7 @@
namespace floormat::wireframe {
-struct quad_floor final
+struct quad_floor
{
quad_floor(Vector3 center, Vector2 size, float line_width);
diff --git a/draw/quad-wall-n.hpp b/draw/quad-wall-n.hpp
index c490d8b2..d607ffe3 100644
--- a/draw/quad-wall-n.hpp
+++ b/draw/quad-wall-n.hpp
@@ -7,7 +7,7 @@
namespace floormat::wireframe {
-struct quad_wall_n final
+struct quad_wall_n
{
quad_wall_n(Vector3 center, Vector3 size, float line_width);
diff --git a/draw/quad-wall-w.hpp b/draw/quad-wall-w.hpp
index b90d53c3..a96e8d83 100644
--- a/draw/quad-wall-w.hpp
+++ b/draw/quad-wall-w.hpp
@@ -7,7 +7,7 @@
namespace floormat::wireframe {
-struct quad_wall_w final
+struct quad_wall_w
{
quad_wall_w(Vector3 center, Vector3 size, float line_width);
diff --git a/draw/quad.hpp b/draw/quad.hpp
index c92e9544..c9345f64 100644
--- a/draw/quad.hpp
+++ b/draw/quad.hpp
@@ -6,7 +6,7 @@
namespace floormat::wireframe {
-struct quad final
+struct quad
{
quad(Vector3 start, Vector2 size, float line_width);
diff --git a/draw/wall.hpp b/draw/wall.hpp
index ace24904..89d3d3ac 100644
--- a/draw/wall.hpp
+++ b/draw/wall.hpp
@@ -5,7 +5,7 @@ namespace floormat {
struct tile_shader;
struct chunk;
-struct wall_mesh final
+struct wall_mesh
{
wall_mesh();