aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/samples/SampleBase/utils/ClothMeshGenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'NvCloth/samples/SampleBase/utils/ClothMeshGenerator.h')
-rw-r--r--NvCloth/samples/SampleBase/utils/ClothMeshGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/NvCloth/samples/SampleBase/utils/ClothMeshGenerator.h b/NvCloth/samples/SampleBase/utils/ClothMeshGenerator.h
index d6cf0fd..1db4115 100644
--- a/NvCloth/samples/SampleBase/utils/ClothMeshGenerator.h
+++ b/NvCloth/samples/SampleBase/utils/ClothMeshGenerator.h
@@ -25,7 +25,7 @@ struct ClothMeshData
a(_a), b(_b), c(_c){}
uint32_t a, b, c;
- Triangle operator+(uint32_t offset)const { return Triangle(a + offset, b + offset, c + offset); };
+ Triangle operator+(uint32_t offset)const { return Triangle(a + offset, b + offset, c + offset); }
};
struct Quad
{
@@ -34,7 +34,7 @@ struct ClothMeshData
a(_a), b(_b), c(_c), d(_d){}
uint32_t a, b, c, d;
- Quad operator+(uint32_t offset)const { return Quad(a + offset, b + offset, c + offset, d + offset); };
+ Quad operator+(uint32_t offset)const { return Quad(a + offset, b + offset, c + offset, d + offset); }
};
std::vector<physx::PxVec3> mVertices;
std::vector<physx::PxVec2> mUvs;