refactor: header file for every module
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#ifndef CLOUDS_H
|
||||
#define CLOUDS_H
|
||||
|
||||
#include <raylib.h>
|
||||
|
||||
typedef struct {
|
||||
Shader shader;
|
||||
float time;
|
||||
float coverage;
|
||||
} Clouds;
|
||||
|
||||
Clouds CreateClouds(void);
|
||||
void UpdateClouds(Clouds *clouds, float deltaTime);
|
||||
void RenderCloudShadows(Clouds *clouds, Camera2D *camera);
|
||||
void RenderClouds(Clouds *clouds, Camera2D *camera);
|
||||
void UnloadClouds(Clouds *clouds);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user