forked from kdx/jtmm2-old
[minor] Added note on camera_init
This commit is contained in:
parent
62ca2886e9
commit
e6ed0ad85e
|
@ -21,6 +21,7 @@ void camera_step(Camera *camera)
|
|||
|
||||
void camera_init(Camera *camera, Player *player, const Level *level)
|
||||
{
|
||||
/* NOTE: This system doesn't totally works, but it's good enough for now. */
|
||||
/* check level size */
|
||||
const Vec level_dim = {level->width * (TILE_SIZE / VEC_PRECISION * SCALE),
|
||||
level->height * (TILE_SIZE / VEC_PRECISION * SCALE)};
|
||||
|
|
Loading…
Reference in New Issue