From 2fd8e7373894c321da57ffe8bdbd8a8e42a11755 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Thu, 21 Apr 2022 22:16:00 +0300 Subject: [PATCH] Fix cg::icosahedron - should implement triangles() instead of faces() --- libs/cg/include/psemek/cg/body/icosahedron.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/cg/include/psemek/cg/body/icosahedron.hpp b/libs/cg/include/psemek/cg/body/icosahedron.hpp index 00b7d2e1..a69ec99f 100644 --- a/libs/cg/include/psemek/cg/body/icosahedron.hpp +++ b/libs/cg/include/psemek/cg/body/icosahedron.hpp @@ -46,7 +46,7 @@ namespace psemek::cg } template - auto const & faces(icosahedron const &) + auto const & triangles(icosahedron const &) { static const std::array, 20> result = {{