Files
263-0007-00L-Advanced-Syste…/sidewalk.h
T

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) {}
};