prosperon/source/engine/3d/skybox.h

18 lines
309 B
C
Raw Normal View History

2021-11-30 21:29:18 -06:00
#ifndef SKYBOX_H
#define SKYBOX_H
struct mCamera;
struct mSkybox {
2023-05-12 13:22:05 -05:00
unsigned int VAO;
unsigned int VBO;
unsigned int id;
struct shader *shader;
2021-11-30 21:29:18 -06:00
};
struct mSkybox *MakeSkybox(const char *cubemap);
void skybox_draw(const struct mSkybox *skybox,
2023-05-12 13:22:05 -05:00
const struct mCamera *camera);
2021-11-30 21:29:18 -06:00
#endif