1
0
Fork 0

Codechange: use std::span instead of hardcoding container

pull/13515/head
Susan 2025-02-14 16:03:37 +00:00
parent f3f87c0535
commit 267fa4d85f
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ struct BlobHarmonic
* @param harmonics Harmonics data for the polygon.
* @returns A star-shaped polygon.
*/
std::array<Point, GROVE_RESOLUTION> CreateStarShapedPolygon(const int radius, const std::array<BlobHarmonic, GROVE_HARMONICS_COUNT> harmonics)
std::array<Point, GROVE_RESOLUTION> CreateStarShapedPolygon(const int radius, const std::span<const BlobHarmonic> harmonics)
{
std::array<Point, GROVE_RESOLUTION> result;