Skip to content

Commit

Permalink
Update mesh.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVaffel committed Apr 30, 2023
1 parent 4024208 commit 8161c96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/HGraf/mesh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ namespace hg {

template<typename T>
concept Mesh_C = requires(T t) {
{ t.positions } -> std::same_as<std::vector<falg::Vec3>>;
{ t.indices } -> std::same_as<std::vector<uint32_t>>;
{ t.positions } -> std::same_as<std::vector<falg::Vec3>&>;
{ t.indices } -> std::same_as<std::vector<uint32_t>&>;
};


/*
* IndexedMesh - Mesh with positions and indices
Expand Down

0 comments on commit 8161c96

Please sign in to comment.