Cleanup
This commit is contained in:
		| @@ -107,11 +107,14 @@ void World::GetScope(int& x, int& y) { | ||||
| } | ||||
|  | ||||
| void World::Update(int& rendercount, int& badhitcount, Player& player, Transformation& world, Shader& shader, TextureAtlas& atlas, Perlin& perlin, BlockInfo* blockinfo[BTYPE_LAST]) { | ||||
| 	glStencilFunc(GL_EQUAL, 1, 0x00); | ||||
| 	glStencilOp(GL_KEEP, GL_KEEP, GL_REPLACE); | ||||
| 	atlas.Bind(); | ||||
| 	RenderWorld(rendercount, badhitcount, player, world, shader); | ||||
| 	TransposeWorld(player); | ||||
| 	UpdateWorld(player, perlin, blockinfo); | ||||
| 	shader.Disable(); | ||||
| 	glStencilFunc(GL_GREATER, 1, 0xFF); | ||||
| } | ||||
|  | ||||
| bool World::GenerateChunk(int chx, int chy, Perlin& perlin) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user