When a 3D mesh renders flat

I followed Warren Moore’s post Thirty Days of Metal — Day 15: Hierarchy and implemented the code, producing the following result.