toVec4 method

Vector4 toVec4()

Transforms the point to its homogeneous vector4 representation. The w component is set to 1.

Implementation

Vector4 toVec4() => Vector4(this.x, this.y, this.z, 1.0);