worked on adding more stuff to the nomi project
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user