Fix cg::icosahedron - should implement triangles() instead of faces()

This commit is contained in:
Nikita Lisitsa 2022-04-21 22:16:00 +03:00
parent ecab744dfd
commit 2fd8e73738

View file

@ -46,7 +46,7 @@ namespace psemek::cg
}
template <typename T>
auto const & faces(icosahedron<T> const &)
auto const & triangles(icosahedron<T> const &)
{
static const std::array<geom::triangle<std::uint8_t>, 20> result =
{{