crystal-tower/src/camera.c

23 lines
255 B
C

#include "camera.h"
#include "vec.h"
static struct Camera self;
void
camera_init(struct Vec *follow)
{
self.follow = follow;
self.pos = VECF(follow->x, follow->y);
}
void
camera_update(void)
{
}
struct Vec
camera_offset(void)
{
return VEC(0, 0);
}