aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/samples/SampleBase/utils/ClothMeshGenerator.h
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2017-10-20 14:30:56 +0200
committerMarijn Tamis <[email protected]>2017-10-20 14:36:12 +0200
commitfabb251458f4a2d6d4f87dd36038fac2774b378c (patch)
tree68a4a0ecd940dc949e0477d521d8c159968cfcd5 /NvCloth/samples/SampleBase/utils/ClothMeshGenerator.h
parentNvCloth 1.1.2 Release. (22576033) (diff)
downloadnvcloth-1.1.3.tar.xz
nvcloth-1.1.3.zip
NvCloth 1.1.3 Release. (23014067)v1.1.3
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;