21 INLINE PhysxClothMeshDesc::
22 PhysxClothMeshDesc() {
25 _desc.pointStrideBytes =
sizeof(NxVec3);
26 _desc.triangleStrideBytes = 3*
sizeof(NxU32);
28 _desc.triangles = NULL;
40 INLINE PhysxClothMeshDesc::
41 ~PhysxClothMeshDesc() {
64 return _desc.isValid();
72 INLINE
const NxClothMeshDesc &PhysxClothMeshDesc::
84 get_texcoords()
const {
88 for (
unsigned int i=0; i < _desc.numVertices; i++) {
90 texcoords.push_back(uv);
This is our own Panda specialization on the default STL list.
bool is_valid() const
Returns true if the descriptor is valid.
This is a two-component point in space.