This commit is contained in:
Anuken
2020-06-08 17:19:47 -04:00
parent 87ab895253
commit 8ea28e1ced
147 changed files with 438 additions and 437 deletions

View File

@@ -6,7 +6,7 @@ public class RowTreeLayout implements TreeLayout{
@Override
public void layout(TreeNode root){
layout(root, 0, new IntArray());
layout(root, 0, new IntSeq());
/*
def minimum_ws(tree, depth=0):
@@ -18,7 +18,7 @@ public class RowTreeLayout implements TreeLayout{
*/
}
void layout(TreeNode node, int depth, IntArray nexts){
void layout(TreeNode node, int depth, IntSeq nexts){
float size = node.height * 5f;
if(nexts.size < depth + 1){