summaryrefslogtreecommitdiffhomepage
path: root/src/render.c
blob: a0bfa8e56f8e037a6aa7de07c11de8869f53fa0b (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "render.h"

void
renderWorld(World* world, Camera* camera)
{
	customBeginMode3D(*camera);
	DrawGrid(100, 1);
	drawPlayer(&world->players[0]);
	drawPlayer(&world->players[1]);
	EndMode3D();
}