some random changes
This commit is contained in:
8
main.c
8
main.c
@@ -35,12 +35,12 @@ void setupContext(DrawingContext *ctx, int argc, char *argv[])
|
||||
ctx->show_attractors = 0;
|
||||
ctx->show_reflectors = 0;
|
||||
ctx->show_rotated_reflectors = 0;
|
||||
ctx->show_limit= 1;
|
||||
ctx->show_limit= 0;
|
||||
ctx->show_dual_limit= 0;
|
||||
ctx->show_text = 1;
|
||||
ctx->mode = 0;
|
||||
ctx->use_rotation_basis = 0;
|
||||
ctx->limit_with_lines = 0;
|
||||
ctx->limit_with_lines = 1;
|
||||
ctx->use_repelling = 0;
|
||||
ctx->show_marking = 1;
|
||||
ctx->marking.x = -0.73679;
|
||||
@@ -268,12 +268,12 @@ int processEvent(GraphicsInfo *info, XEvent *ev)
|
||||
computeLimitCurve(screen_context);
|
||||
break;
|
||||
case XK_Page_Down:
|
||||
screen_context->parameter /= exp(0.2);
|
||||
screen_context->parameter /= exp(0.02);
|
||||
updateMatrices(screen_context);
|
||||
computeLimitCurve(screen_context);
|
||||
break;
|
||||
case XK_Page_Up:
|
||||
screen_context->parameter *= exp(0.2);
|
||||
screen_context->parameter *= exp(0.02);
|
||||
updateMatrices(screen_context);
|
||||
computeLimitCurve(screen_context);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user