diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-10-30 09:51:04 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-10-30 09:51:04 -0400 |
| commit | 6fa9ed77f6e124691e588bdb70f21d3aa10f30e8 (patch) | |
| tree | 568a438e11ad005fd6bd0a20f5d28d331844a697 /balls.h | |
| parent | ef0ba48ead218d37d979b5ca156ea9d557754dd6 (diff) | |
| download | balls-6fa9ed77f6e124691e588bdb70f21d3aa10f30e8.zip | |
create collision buffers
Diffstat (limited to 'balls.h')
| -rw-r--r-- | balls.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -19,6 +19,7 @@ typedef struct { Partition partitionCollisions(size_t nBalls); void freePartition(Partition part); +void printPartition(Partition part); int isCollision(float2 p1, float r1, float2 p2, float r2); Rectangle insetRect(Rectangle r, float n); |