Re: [PATCH] d3dx9_36: Implement ID3DXSkinInfoImpl_UpdateSkinnedMesh.

2013-06-05 Thread Christian Costa
2013/6/5 Rico Schüller > On 05.06.2013 08:48, Christian Costa wrote: > >> bone = &This->bones[bone_num]; >> +/* Decrement refcounts of vertices previously influenced */ >> +for (i = 0; i < bone->num_influences; i++) >> +if (bone->vertices[i] < This->num_vertices) /* Ignore o

Re: [PATCH] d3dx9_36: Implement ID3DXSkinInfoImpl_UpdateSkinnedMesh.

2013-06-05 Thread Rico Schüller
On 05.06.2013 08:48, Christian Costa wrote: bone = &This->bones[bone_num]; +/* Decrement refcounts of vertices previously influenced */ +for (i = 0; i < bone->num_influences; i++) +if (bone->vertices[i] < This->num_vertices) /* Ignore out of range value */ +This