3D BOX BUILDING Controls are in the game, This may be lagy Hope you enjoy this game :) Try turbo mode if lagy https://turbowarp.org/656662609
___________________Notes____________________ Lazy mesh gen: Shape pointers apparently not used for anything _Parsed IDK, something complicated Quads Temporary stores [x1, y1, z1, x2, y2, z2] of each wall segment BSP gen: Quads Temporary stores [x1, y1, z1, x2, y2, z2] of each wall segment Build - BSP stores [dir, D_offset, parent, child1, child2, final poly list start, final poly list length, -1] dir can be one of [0, 1, 2] where 0=x, 1=y, 2=z D_offset is the offset along that direction after everything is processed, it changes to storing: stores [dir, D_offset, parent, child1, child2, child1 frame, child2 frame, cur frame linked poly list] child1, child2 = -1 point to nothing child1, child2 > 0 point to other Build - BSP node (start at 6) child1, child2 < 1 and not -1 point to sector (start at 0) Quads Final strores (air) [x1, y1, z1, x2, y2, z2, material, sector1, sector2, node] strores (wall) [x1, y1, z1, x2, y2, z2, material, last drawn, -1, node] Sectors: Build - Sectors stores [x-, y-, z-, x+, y+, z+, x min, y min, x max, y max, last frame, parent, side order] those values are pointers to Build - QuadLinkedList QuadLinkedList stores [quadPoiner, next] all pointers to it to it to "next" of correct(not previous) element