|
#include "engine.h"
|
|
#include "loader.h"
|
|
|
|
|
|
// GLOBALS
|
|
static Mesh mesh;
|
|
|
|
|
|
int Engine_Init(char *filename)
|
|
{
|
|
int result = LoadMesh(filename, mesh);
|
|
|
|
if (result < 0)
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
return 0;
|
|
}
|
|
|
|
void Engine_Render(Engine_Buffer &buffer, uint32_t input)
|
|
{
|
|
}
|
|
|
|
void Engine_Shutdown(void)
|
|
{
|
|
}
|
|
|