Fix compile warnings, hierarchical lerping, sparse mesh generation