Use a octosphere instead of a icosahedron

This commit is contained in:
Irlan
2019-04-20 13:45:18 -03:00
parent 34c5d6f157
commit 323ba37b73
4 changed files with 24 additions and 53 deletions

View File

@ -540,7 +540,7 @@ struct DrawWireSphere
DrawWireSphere()
{
smMesh mesh;
smCreateMesh(mesh, 1);
smCreateMesh(mesh, 2);
m_vertexCount = mesh.vertexCount;
m_indexCount = mesh.indexCount;
@ -654,7 +654,7 @@ struct DrawSolidSphere
DrawSolidSphere()
{
smMesh mesh;
smCreateMesh(mesh, 1);
smCreateMesh(mesh, 2);
m_vertexCount = mesh.vertexCount;
m_indexCount = mesh.indexCount;