~zjm/Moon3D

e3602e40261b069bccf7bf7f14e03ed283eacfcf — Zack Michener a month ago 6be9200
fix build error
1 files changed, 4 insertions(+), 3 deletions(-)

M src/game.c
M src/game.c => src/game.c +4 -3
@@ 110,6 110,7 @@ Scene *NewScene(void)

Mesh *LoadMesh(const char *filename)
{
	// TODO
	return (Mesh *)0;
}



@@ 262,11 263,11 @@ void UpdateParticle(Particle particle, int dt)
void RenderScene(Scene *scene, Viewport *viewport)
{
	for (int i = 0; i < PoolTotal(scene->renderable_pool); i++) {
		Render(scene->renderable_pool[i], scene->physics_pool[i].transform viewport);
		Render(scene->renderable_pool[i], scene->physics_pool[i].position, viewport);
	}
}

void Render(Renderable renderable, Transform modelingTransform, Viewport *viewport)
void Render(Renderable renderable, Transform position, Viewport *viewport)
{

	// TODO
}