summaryrefslogtreecommitdiffhomepage
path: root/draw/wireframe-mesh.hpp
diff options
context:
space:
mode:
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