made it so that branches would be drawn on branches
This commit is contained in:
@@ -41,6 +41,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
char* text; // This is the data that is in that branch
|
||||
branchId children[MAX_CHILDREN]; // holds the branchIds of its children
|
||||
struct tart_cell cell;
|
||||
void* parent; // points the the branches parent
|
||||
char type; // holds the type as in if this struct is a branch or a trunk
|
||||
nomi_vec2 startPos; // the starting position of the branch
|
||||
@@ -74,6 +75,7 @@ void CreaetBranch(trunk* trunk);
|
||||
* */
|
||||
branch* LocateBranch();
|
||||
|
||||
branch create_branch(branch* parent, nomi_vec2 d);
|
||||
/*
|
||||
* Draw Branch
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user