summaryrefslogtreecommitdiffhomepage
path: root/draw/wireframe-mesh.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-24 14:04:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-24 14:04:51 +0200
commitbb17be56d2cd22949bf485c518d543a7e79a6b7d (patch)
tree2076f82df9a2e9a612dc4678bbdda1adf0d1064e /draw/wireframe-mesh.hpp
parenta4c24b236e7438adb34798fcd20178e3b69b5215 (diff)
a
Diffstat (limited to 'draw/wireframe-mesh.hpp')
-rw-r--r--draw/wireframe-mesh.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/draw/wireframe-mesh.hpp b/draw/wireframe-mesh.hpp
index f03659d3..9d736419 100644
--- a/draw/wireframe-mesh.hpp
+++ b/draw/wireframe-mesh.hpp
@@ -17,8 +17,8 @@ concept traits = requires (const T& x) {
{T::num_vertices} -> std::convertible_to<std::size_t>;
{T::num_indexes} -> std::convertible_to<std::size_t>;
{x.primitive} -> std::convertible_to<GL::MeshPrimitive>;
- {x.make_vertex_array() } -> std::convertible_to<Containers::ArrayView<const void>>;
- {T::make_index_array() } -> std::convertible_to<Containers::ArrayView<const void>>;
+ {x.make_vertex_array() } -> std::convertible_to<ArrayView<const void>>;
+ {T::make_index_array() } -> std::convertible_to<ArrayView<const void>>;
{x.on_draw()} -> std::same_as<void>;
};
@@ -29,10 +29,10 @@ struct mesh_base
GL::Texture2D _texture = make_constant_texture();
GL::Mesh _mesh;
- mesh_base(GL::MeshPrimitive primitive, Containers::ArrayView<const void> index_data,
+ mesh_base(GL::MeshPrimitive primitive, ArrayView<const void> index_data,
std::size_t num_vertices, std::size_t num_indexes);
void draw(tile_shader& shader);
- void set_subdata(Containers::ArrayView<const void> array);
+ void set_subdata(ArrayView<const void> array);
};
} // namespace wireframe