diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-13 04:48:59 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-13 05:05:16 +0100 |
commit | 7cec20e4f295ea2f92613b0231a765d710c2411a (patch) | |
tree | db693feb5e5b80da75a09263242a1d89f6f2f770 /draw | |
parent | e75f99e22197008bd8a2e6df70c5b7554698300e (diff) |
dw
Diffstat (limited to 'draw')
-rw-r--r-- | draw/wireframe-meshes.cpp | 10 | ||||
-rw-r--r-- | draw/wireframe-meshes.hpp | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/draw/wireframe-meshes.cpp b/draw/wireframe-meshes.cpp index 7baeddf7..f81f6822 100644 --- a/draw/wireframe-meshes.cpp +++ b/draw/wireframe-meshes.cpp @@ -4,11 +4,11 @@ namespace floormat::wireframe { meshes::meshes() : _wireframe_texture{make_constant_texture()}, - _wireframe_quad {_wireframe_texture}, - _wireframe_wall_n {_wireframe_texture}, - _wireframe_wall_w {_wireframe_texture}, - _wireframe_box {_wireframe_texture}, - _wireframe_rect {_wireframe_texture} + quad {_wireframe_texture}, + wall_n {_wireframe_texture}, + wall_w {_wireframe_texture}, + box {_wireframe_texture}, + rect {_wireframe_texture} { } diff --git a/draw/wireframe-meshes.hpp b/draw/wireframe-meshes.hpp index be9b6b79..ca514ff5 100644 --- a/draw/wireframe-meshes.hpp +++ b/draw/wireframe-meshes.hpp @@ -19,11 +19,11 @@ struct meshes final meshes(); GL::Texture2D _wireframe_texture; - wireframe_mesh<wireframe::quad_floor> _wireframe_quad {_wireframe_texture}; - wireframe_mesh<wireframe::quad_wall_n> _wireframe_wall_n {_wireframe_texture}; - wireframe_mesh<wireframe::quad_wall_w> _wireframe_wall_w {_wireframe_texture}; - wireframe_mesh<wireframe::box> _wireframe_box {_wireframe_texture}; - wireframe_mesh<wireframe::quad> _wireframe_rect {_wireframe_texture}; + wireframe_mesh<struct wireframe::quad_floor> quad; + wireframe_mesh<struct wireframe::quad_wall_n> wall_n; + wireframe_mesh<struct wireframe::quad_wall_w> wall_w; + wireframe_mesh<struct wireframe::box> box; + wireframe_mesh<struct wireframe::quad> rect; }; } // namespace floormat::wireframe |