Creating a basic Doom clone using WebGL