mirror of https://git.sr.ht/~kikoodx/crystal-tower
12 lines
186 B
C
12 lines
186 B
C
|
#pragma once
|
||
|
#include "vec.h"
|
||
|
|
||
|
struct Camera {
|
||
|
struct Vec *follow;
|
||
|
struct VecF pos;
|
||
|
};
|
||
|
|
||
|
void camera_init(struct Vec *follow);
|
||
|
void camera_update(void);
|
||
|
struct Vec camera_offset(void);
|