Beispiel #1
0
void Mesh_Exit()
{
	while(iNumBuckets)
	{
		ModelBuckets[iNumBuckets-1].iNumRef = 1;

		Mesh_Destroy(ModelBuckets[iNumBuckets-1].pModel);
	}
}
Beispiel #2
0
void Game_Destroy( Game* const game)
{
	printf("Game_Destroy \n");

	Camera_Destroy( game->Camera);
	Mesh_Destroy(game->CubeModel);
	Texture_Destroy(game->DiffuseTexture);

	free(game);

}