Last commit fixed gl calls inside the .then() but missed the calls in the body of initGroundSystem itself. Replaced every gl.X reference with groundGl.X in the new code.
Last commit fixed gl calls inside the .then() but missed the calls in the body of initGroundSystem itself. Replaced every gl.X reference with groundGl.X in the new code.