@@ -371,17 +371,16 @@ pg_circle_as_frect(pgCircleObject *self, PyObject *_null)
371
371
return pgFRect_New4 ((float )x , (float )y , (float )diameter , (float )diameter );
372
372
}
373
373
374
-
375
- #define RECT_CIRCLE_CONTAINS (rect , circle , result ) \
376
- if (pgCollision_CirclePoint(scirc, (double)rect->x, (double)rect->y) && \
377
- pgCollision_CirclePoint(circle, (double)(rect->x + rect->w), \
378
- (double)rect->y) && \
379
- pgCollision_CirclePoint(circle, (double)rect->x, \
380
- (double)(rect->y + rect->h)) && \
381
- pgCollision_CirclePoint(circle, (double)(rect->x + rect->w), \
382
- (double)(rect->y + rect->h))) { \
383
- result = 1; \
384
- }
374
+ #define RECT_CIRCLE_CONTAINS (rect , circle , result ) \
375
+ if (pgCollision_CirclePoint(scirc, (double)rect->x, (double)rect->y) && \
376
+ pgCollision_CirclePoint(circle, (double)(rect->x + rect->w), \
377
+ (double)rect->y) && \
378
+ pgCollision_CirclePoint(circle, (double)rect->x, \
379
+ (double)(rect->y + rect->h)) && \
380
+ pgCollision_CirclePoint(circle, (double)(rect->x + rect->w), \
381
+ (double)(rect->y + rect->h))) { \
382
+ result = 1; \
383
+ }
385
384
386
385
static PyObject *
387
386
pg_circle_contains (pgCircleObject * self , PyObject * arg )
0 commit comments