| 220 | } |
| 221 | |
| 222 | cpFloat |
| 223 | cpShapePointQuery(const cpShape *shape, cpVect p, cpPointQueryInfo *info) |
| 224 | { |
| 225 | cpPointQueryInfo blank = {NULL, cpvzero, INFINITY, cpvzero}; |
| 226 | if(info){ |
| 227 | (*info) = blank; |
| 228 | } else { |
| 229 | info = ␣ |
| 230 | } |
| 231 | |
| 232 | shape->klass->pointQuery(shape, p, info); |
| 233 | return info->distance; |
| 234 | } |
| 235 | |
| 236 | |
| 237 | cpBool |
no outgoing calls
no test coverage detected