diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c930686 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +bundle.js +dist/ \ No newline at end of file diff --git a/track/shapes.ts b/track/shapes.ts index 9698d3c..207c22f 100644 --- a/track/shapes.ts +++ b/track/shapes.ts @@ -5,7 +5,7 @@ export class StraightTrack extends TrackSegment { constructor(start?: Vector) { start = start || new Vector(100, 100); super([ - start.copy(), + start, start.copy().add(25, 0), start.copy().add(75, 0), start.copy().add(100, 0),