aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/samples/SampleBase/utils/ClothMeshGenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NvCloth/samples/SampleBase/utils/ClothMeshGenerator.cpp')
-rw-r--r--NvCloth/samples/SampleBase/utils/ClothMeshGenerator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/NvCloth/samples/SampleBase/utils/ClothMeshGenerator.cpp b/NvCloth/samples/SampleBase/utils/ClothMeshGenerator.cpp
index 49f9ada..495ba15 100644
--- a/NvCloth/samples/SampleBase/utils/ClothMeshGenerator.cpp
+++ b/NvCloth/samples/SampleBase/utils/ClothMeshGenerator.cpp
@@ -72,6 +72,7 @@ GeneratePlaneCloth(x,y,2,2) generates:
pos = physx::PxVec3(((float)x / (float)segmentsX) * width,
((float)(y&2) / (float)segmentsY) * height,
((float)((y+1)&~1) / (float)segmentsY) * height);
+ break;
default:
pos = physx::PxVec3(((float)x / (float)segmentsX) * width,
0.f,