18
src/RayExt.h
Normal file
18
src/RayExt.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef RAYEXT_H
|
||||
#define RAYEXT_H
|
||||
|
||||
#include <raylib.h>
|
||||
|
||||
typedef struct {
|
||||
bool ok;
|
||||
Model cube;
|
||||
Shader shader;
|
||||
TextureCubemap cubemap;
|
||||
} Skybox;
|
||||
|
||||
void Skybox_init(Skybox *skybox, char const *fp);
|
||||
void Skybox_destroy(Skybox *skybox);
|
||||
|
||||
void Skybox_draw(Skybox const skybox, Vector3 position);
|
||||
|
||||
#endif // RAYEXT_H
|
||||
Reference in New Issue
Block a user