From 623a324625af58aee149708e21604971a396cba7 Mon Sep 17 00:00:00 2001 From: Emma Date: Fri, 7 Feb 2025 12:34:58 -0700 Subject: [PATCH] gitignore --- .gitignore | 2 ++ track/shapes.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .gitignore 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),