obiwac / python-minecraft-clone

Source code for each episode of my Minecraft clone in Python YouTube tutorial series.
https://www.youtube.com/playlist?list=PL6_bLxRDFzoKjaa3qCGkwR5L_ouSreaVP
MIT License
162 stars 79 forks source link

LIGHTING ENGINE, Logging system, fix to a vertex shader bug and micro optimisation + better code #32

Closed Jukitsu closed 2 years ago

Jukitsu commented 2 years ago

use items(), values() for dictionaries, fixed a weird const keyword hanging out in the vert.glsl and added logging.

Jukitsu commented 2 years ago

Did github just whine about a small variable name change ??

obiwac commented 2 years ago

Merged, will apply for chunk_position, render_chunk in self.chunks.items(): to other episodes at a later date.