comparison trunk/chipmunkd/cpPolyShape.d @ 23:4ceef5833c8c

updated to chipmunk 5.3.3
author Extrawurst
date Fri, 10 Dec 2010 02:10:27 +0100
parents df4ebc8add66
children 4541ca17975b
comparison
equal deleted inserted replaced
22:ed2c81f3d1df 23:4ceef5833c8c
202 &cpPolyShapePointQuery, 202 &cpPolyShapePointQuery,
203 &cpPolyShapeSegmentQuery, 203 &cpPolyShapeSegmentQuery,
204 }; 204 };
205 205
206 cpBool 206 cpBool
207 cpPolyValidate(cpVect *verts, int numVerts) 207 cpPolyValidate(in cpVect *verts, in int numVerts)
208 { 208 {
209 for(int i=0; i<numVerts; i++){ 209 for(int i=0; i<numVerts; i++){
210 cpVect a = verts[i]; 210 cpVect a = verts[i];
211 cpVect b = verts[(i+1)%numVerts]; 211 cpVect b = verts[(i+1)%numVerts];
212 cpVect c = verts[(i+2)%numVerts]; 212 cpVect c = verts[(i+2)%numVerts];