Lock camera to the bounds of the world

This commit is contained in:
2016-07-08 21:21:49 +10:00
parent f6ada44b41
commit ebcdd779b9
2 changed files with 27 additions and 2 deletions
+2 -1
View File
@@ -22,7 +22,8 @@ typedef struct World
enum TexList texType;
v2 cameraPos;
v2 cameraPos; // In pixels
v4 bounds; // In pixels
i32 heroIndex;
i32 freeEntityIndex;