diff options
Diffstat (limited to 'src/construction.c')
| -rw-r--r-- | src/construction.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |
