Vector3 toVec3()

Transforms the point to its vector representation.

Source

Vector3 toVec3() => new Vector3(this.x, this.y, this.z);