refactor: header file for every module
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#ifndef ENGINE_CAMERA_H
|
||||
#define ENGINE_CAMERA_H
|
||||
|
||||
#include "engineInput.h"
|
||||
#include <raylib.h>
|
||||
|
||||
Rectangle GetCameraRectangle(Camera2D *camera);
|
||||
Camera2D CreateCamera(Vector2 playerPosition, float initZoom);
|
||||
void UpdateCameraTarget(Camera2D *camera, Vector2 *position, const float smoothness);
|
||||
void UpdateCameraZoom(Camera2D *camera, const float *scaleFactor, const float *minZoom,
|
||||
const float *maxZoom);
|
||||
void UpdateCamera2D(Camera2D *camera, Vector2 *position, Mouse *mouse);
|
||||
|
||||
#endif // ENGINE_CAMERA_H
|
||||
Reference in New Issue
Block a user