doc: add isosphere implementation source link
This commit is contained in:
parent
4bab4bbcf7
commit
ef67495aef
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue