Fix cg::icosahedron - should implement triangles() instead of faces()
This commit is contained in:
parent
ecab744dfd
commit
2fd8e73738
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ namespace psemek::cg
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
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 =
|
static const std::array<geom::triangle<std::uint8_t>, 20> result =
|
||||||
{{
|
{{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue