#ifndef _SITHRENDERSKY_H
#define _SITHRENDERSKY_H

#include "types.h"
#include "globals.h"

#define sithRenderSky_Open_ADDR (0x004F2D30)
#define sithRenderSky_Close_ADDR (0x004F2DC0)
#define sithRenderSky_Update_ADDR (0x004F2DD0)
#define sithRenderSky_HorizonFaceToPlane_ADDR (0x004F2E30)
#define sithRenderSky_CeilingFaceToPlane_ADDR (0x004F2F60)

MATH_FUNC int sithRenderSky_Open(flex_t horizontalPixelsPerRev, flex_t horizontalDist, flex_t ceilingSkyHeight);
void sithRenderSky_Close();
MATH_FUNC void sithRenderSky_Update();
MATH_FUNC void sithRenderSky_HorizonFaceToPlane(rdProcEntry *pProcEntry, sithSurfaceInfo *pSurfaceInfo, uint32_t num_vertices);
MATH_FUNC void sithRenderSky_CeilingFaceToPlane(rdProcEntry *pProcEntry, sithSurfaceInfo *pSurfaceInfo, rdVector3 *pUntransformedVerts, uint32_t num_vertices);

#endif // _SITHRENDERSKY_H