1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "barrel.h" static const Rectangle physicsCollider = (Rectangle) { .x = NO_OFFSET, .y = NO_OFFSET, .width = 100, .height = 100 }; static const Rectangle destRect = (Rectangle) { .x = -65, .y = -140, .width = 230, .height = 300 };