JS_Projects/carDrivingNeuralNet/wall.js
Dawid Pietrykowski 25a12f221e Initial commit
2022-11-09 23:34:49 +01:00

11 lines
227 B
JavaScript
Executable File

class Wall {
constructor(ax, ay, bx, by) {
this.a = createVector(ax, ay);
this.b = createVector(bx, by);
}
show() {
stroke(255);
line(this.a.x, this.a.y, this.b.x, this.b.y);
}
}