From 93427194d9df65e06751c9442cc95661bdbc354e Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Sun, 6 Sep 2026 21:12:12 +0200 Subject: Finally, double assemblies! --- src/construction.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/construction.c') diff --git a/src/construction.c b/src/construction.c index 2a2487b..996b2d2 100644 --- a/src/construction.c +++ b/src/construction.c @@ -211,7 +211,7 @@ void place_points(struct drawing *drawing, double inputs[]) { uint32_t i = 0; for(struct command *current = drawing->root; current != NULL; current = current->next) { - // if(i++ > 36) break; + // if(i++ > 50) break; current->placed = true; switch(current->op) { @@ -408,12 +408,12 @@ void place_points(struct drawing *drawing, double inputs[]) { mat3 transform; glm_mat3_identity(transform); - // glm_rotate2d(transform, theta); + glm_rotate2d(transform, theta); { vec2 negative_translate; glm_vec2_negate_to(origin->result.point.pos, negative_translate); - // glm_translate2d(transform, negative_translate); + glm_translate2d(transform, negative_translate); } fprintf(stderr, "W %f %f %f\n", origin->result.point.pos[0], origin->result.point.pos[1], theta); -- cgit v1.2.3