doc: add isosphere implementation source link

This commit is contained in:
Cat Flynn 2023-08-03 01:21:18 +02:00
parent 4bab4bbcf7
commit ef67495aef
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ private:
std::vector<float> _vertices; std::vector<float> _vertices;
std::vector<unsigned int> _indices; std::vector<unsigned int> _indices;
// Generating an isosphere
// https://schneide.blog/2016/07/15/generating-an-icosphere-in-c/
struct Triangle struct Triangle
{ {
int vertex[3]; int vertex[3];