ángulo entre dos vectores
function angleTo(v: Vector) {
return Math.atan2(v.y - this.y, v.x - this.x)
}
Himanshu Jangid
function angleTo(v: Vector) {
return Math.atan2(v.y - this.y, v.x - this.x)
}