MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / GenerateIcoSphere

Function GenerateIcoSphere

src/Nazara/Utility/AlgorithmUtility.cpp:929–933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

927 }
928
929 void GenerateIcoSphere(float size, unsigned int recursionLevel, const Matrix4f& matrix, const Rectf& textureCoords, VertexPointers vertexPointers, IndexIterator indices, Boxf* aabb, unsigned int indexOffset)
930 {
931 IcoSphereBuilder builder(matrix);
932 builder.Generate(size, recursionLevel, textureCoords, vertexPointers, indices, aabb, indexOffset);
933 }
934
935 void GeneratePlane(const Vector2ui& subdivision, const Vector2f& size, const Matrix4f& matrix, const Rectf& textureCoords, VertexPointers vertexPointers, IndexIterator indices, Boxf* aabb, unsigned int indexOffset)
936 {

Callers 1

BuildSubMeshMethod · 0.85

Calls 1

GenerateMethod · 0.45

Tested by

no test coverage detected