summaryrefslogtreecommitdiff
path: root/src/entity.c
blob: 59f55f199fe7eb9a9c2c55f2ba3ff13f05544794 (plain)
1
2
3
4
5
6
7
8
9
#include "entity.h"

Hitbox createHitbox(Vector3* boxes)
{
	return (Hitbox){
		.boxes = boxes,
		.num_boxes = sizeof(boxes)/sizeof(Vector3)
	};
}