added rotation matrix to the bizear curves
This commit is contained in:
@@ -24,13 +24,27 @@
|
||||
|
||||
typedef unsigned int branchId;
|
||||
|
||||
typedef struct {
|
||||
double x;
|
||||
double y;
|
||||
} nomi_vec2;
|
||||
|
||||
typedef struct {
|
||||
nomi_vec2 start;
|
||||
nomi_vec2 c0;
|
||||
nomi_vec2 c1;
|
||||
nomi_vec2 end;
|
||||
|
||||
} nomi_curve;
|
||||
|
||||
// All of the different notes
|
||||
typedef struct {
|
||||
char* text; // This is the data that is in that branch
|
||||
branchId children[MAX_CHILDREN]; // holds the branchIds of its children
|
||||
void* parent; // points the the branches parent
|
||||
char type; // holds the type as in if this struct is a branch or a trunk
|
||||
struct tart_vec2 startPos; // the starting position of the branch
|
||||
nomi_vec2 startPos; // the starting position of the branch
|
||||
nomi_curve curve;
|
||||
branchId id; // This holds the branch id.
|
||||
} branch;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user