diff options
| author | Jesper Jensen <jesper@jnsn.dev> | 2025-12-08 23:29:51 +0100 |
|---|---|---|
| committer | Jesper Jensen <jesper@jnsn.dev> | 2025-12-08 23:29:51 +0100 |
| commit | a13299362cf02e7e650d4bc60e6d3745c1fea177 (patch) | |
| tree | aad3599bad70fb72eb93d9e331e30c93bd3f19c1 | |
| parent | 5935ea66aac38ebb37f81f17e3d72afe27e036ea (diff) | |
Fix some includes
| -rw-r--r-- | inc/cad.h | 4 | ||||
| -rw-r--r-- | src/main.c | 12 |
2 files changed, 3 insertions, 13 deletions
@@ -1,6 +1,8 @@ #pragma once #include "cad/construction.h" +#include "cad/solve.h" +#include "cad/svg.h" #include <stddef.h> struct constraint; @@ -14,5 +16,3 @@ void alloc_constraints(struct constraints *system); void constrain_distance_between_points(struct constraints *system, struct component *p1, struct component *p2, double distance); void constrain_distance_to_line(struct constraints *system, struct component *point, struct component *line, double distance); void constrain_angle(struct constraints *system, struct component *l1, struct component *l2, double theta); - -void solve_constraints(struct constraint *constraints, size_t constraints_num, struct drawing *drawing); @@ -1,14 +1,4 @@ -#include <assert.h> -#include <stdio.h> -#include <stdbool.h> -#include <stdlib.h> -#include <cglm/cglm.h> -#include <string.h> -#include <limits.h> - -#include "cad/construction.h" -#include "cad/solve.h" -#include "cad/svg.h" +#include "cad.h" struct smooth_line { struct component l1; |
