aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/BoxCollider.cpp
blob: a893d41303adc22320a59d4446cc124e32574d99 (plain)
1
2
3
4
5
6
7
8
9
10
#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) {}