projections as binary tree #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
store and traverse projections in and as a binary tree
we would only need to store the current top element whilst traversing, drawing lines to each sub, before recursively applying the function we're in to each sub, which would consist of a single map call by storing subs in an t_array or equivalent
this would be specifically in the case of an open rectangular grid mesh such as that serialised in fdf maps but i could see this adapted to any mesh actually
this could be a great opportunity to implement and test out that one poc of storing the entire binary tree on the stack through recursive compound literals
we dont actually need to store xz coordinates for such a mesh which could be implemented as a heightmap uniquely mapping (x,z) -> y