summaryrefslogtreecommitdiffstats
path: root/src/construction.c
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2026-09-06 21:12:12 +0200
committerJesper Jensen <jesper@jnsn.dev>2026-09-06 21:12:12 +0200
commit93427194d9df65e06751c9442cc95661bdbc354e (patch)
tree2219bcd6c217c1b4d486b1cae552f0f3f7d8f8b1 /src/construction.c
parentd15fe2f08c1be5e2c972617a4d2f992667563caa (diff)
downloadconstraint-93427194d9df65e06751c9442cc95661bdbc354e.tar.gz
constraint-93427194d9df65e06751c9442cc95661bdbc354e.zip
Finally, double assemblies!
Diffstat (limited to 'src/construction.c')
-rw-r--r--src/construction.c6
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);