2ca70ae7fa
We can delete that folder as soon as we are sure we dont need them
10 lines
326 B
C
10 lines
326 B
C
# 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) {}
|
|
}; |