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:
+10
@@ -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) {}
|
||||
};
|
||||
Reference in New Issue
Block a user