reverseSign method
Multiplies each axis by -1
Implementation
Coordinate reverseSign()
{
this.x = this.x * -1;
this.y = this.y * -1;
return this;
}
Multiplies each axis by -1
Coordinate reverseSign()
{
this.x = this.x * -1;
this.y = this.y * -1;
return this;
}