prosperon/source/engine/3d/skybox.h
2023-05-12 18:22:05 +00:00

18 lines
309 B
C

#ifndef SKYBOX_H
#define SKYBOX_H
struct mCamera;
struct mSkybox {
unsigned int VAO;
unsigned int VBO;
unsigned int id;
struct shader *shader;
};
struct mSkybox *MakeSkybox(const char *cubemap);
void skybox_draw(const struct mSkybox *skybox,
const struct mCamera *camera);
#endif