missing repulsive_effects_from_borders, and last three updates. Restructured the whole project. TODO: check constants/parameters and implement missing functions.

This commit is contained in:
smail alijagic
2026-03-22 00:05:32 +01:00
parent 0f05b93b57
commit e905bc4a86
6 changed files with 267 additions and 164 deletions
+10
View File
@@ -0,0 +1,10 @@
# pragma once
# include <vector2d.h>
// initialize map
struct Sidewalk{
double length, width;
Vector2d* obstacles; // array containing the position of each obstacle
int n_obstacles; // number of obstacles
Sidewalk(double l, double w, int n, Vector2d* obs) : length(l), width(w), n_obstacles(n), obstacles(obs) {}
};