summaryrefslogtreecommitdiffstats
path: root/src/construction.c
diff options
context:
space:
mode:
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 f2a473a..2a2487b 100644
--- a/src/construction.c
+++ b/src/construction.c
@@ -188,7 +188,7 @@ void dump_program(struct drawing *drawing, double inputs[]) {
fprintf(stderr, "%p -> PLL(%p, %p) = <%f, %f>\n", &current->result, current->arg1, current->arg2, current->result.point.pos[0], current->result.point.pos[1]);
}break;
case CMD_CIRCLE_CENTER_POINT: {
- fprintf(stderr, "%p -> CCR(%p, %p) = ((x-%f)^2 + (y-%f)^2 = %f^2)\n", &current->result, current->arg1, current->arg2, current->result.circle.center[0], current->result.circle.center[1], current->result.circle.radius);
+ fprintf(stderr, "%p -> CCP(%p, %p) = ((x-%f)^2 + (y-%f)^2 = %f^2)\n", &current->result, current->arg1, current->arg2, current->result.circle.center[0], current->result.circle.center[1], current->result.circle.radius);
}break;
case CMD_IMPORT_POINT_LINE: {
fprintf(stderr, "%p -> IMP(%p, %p, %p, %p) = <N/A>\n", &current->result, current->arg1, current->arg2, current->attachp, current->attachl);
@@ -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);