Thanks for the suggestions! But doesn’t
vertex(x, y)
need to be
vertex(this.x, this.y)
Or just the .this in general? Otherwise, it won’t know what x and y are, which now I am getting an error that they are not defined.
Thanks for the suggestions! But doesn’t
vertex(x, y)
need to be
vertex(this.x, this.y)
Or just the .this in general? Otherwise, it won’t know what x and y are, which now I am getting an error that they are not defined.