aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/BoxCollider.cpp
blob: f6b358d34d0970a627a2c0f854062c07ea413939 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "BoxCollider.h"

#include "../Collider.h"

using namespace crepe;

BoxCollider::BoxCollider(
	game_object_id_t game_object_id, const vec2 & dimensions, const vec2 & offset
)
	: Collider(game_object_id, offset),
	  dimensions(dimensions) {}