Devlog 13
Block deleting and Block placing
Just finished the core block manegment system. The raytracing engine determines which face it has touched and the player puts the block based on that.
The code is a mess. I tried implementing a face culling between chunks but failed miserably. I tried making the chunk receive the world context and it didn’t work because of circular dependency (the world imports the chunk and then imports the chunk again), and forward definitions also wasn’t solving
My next urgency is to refactor and turn this mess legible.
AMDG
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.