draw arcs

This commit is contained in:
Florian Stecker
2019-12-23 12:29:50 +01:00
parent c43e9d89e0
commit 0cde265d1e
6 changed files with 592 additions and 152 deletions

10
main.h
View File

@@ -35,7 +35,10 @@ typedef struct {
int show_boxes2;
int show_attractors;
int show_reflectors;
int show_rotated_reflectors;
int show_limit;
int show_dual_limit;
int show_text;
int use_rotation_basis;
int limit_with_lines;
int use_repelling;
@@ -46,12 +49,17 @@ typedef struct {
// computed stuff
double *limit_curve; // x, y, angle triples
int limit_curve_valid;
int limit_curve_count;
// temporary; matrices can only be freed from the top, but that's enough for us
workspace_t *ws;
} DrawingContext;
typedef enum {
VT_POINT,
VT_LINE
} vector_type_t;
// implemented in limit_set.c
void cartanMatrix(gsl_matrix *cartan, double a1, double a2, double a3, double s);
void initializeTriangleGenerators(gsl_matrix **gen, gsl_matrix *cartan);