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

@ -30,7 +30,7 @@ struct b3SphereClothMesh : public b3ClothMesh
b3SphereClothMesh()
{
smMesh mesh;
smCreateMesh(mesh, 1);
smCreateMesh(mesh, 2);
sphereVertices.Resize(mesh.vertexCount);
for (u32 i = 0; i < mesh.vertexCount; ++i)