worked on adding more stuff to the nomi project

This commit is contained in:
2025-11-04 16:42:42 -08:00
parent 998c2aa393
commit 98a190eb5e
3 changed files with 62 additions and 50 deletions

View File

@@ -44,6 +44,7 @@ typedef struct {
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
float angle;
nomi_vec2 startPos; // the starting position of the branch
nomi_curve curve;
branchId id; // This holds the branch id.
@@ -75,11 +76,11 @@ void CreaetBranch(trunk* trunk);
* */
branch* LocateBranch();
branch create_branch(branch* parent, nomi_vec2 d);
branch create_branch(branch* parent, nomi_vec2 d, unsigned char percent, unsigned char b);
/*
* Draw Branch
*/
void DrawBranch(branch* branch, struct tart_window* w, tart_byte b);
void DrawBranch(branch* branch,unsigned char p, struct tart_window* w, tart_byte b);
/*
* Create Nomi File