Vector3.fromXY constructor

Vector3.fromXY(
  1. double x,
  2. double y
)

Create from 2-D components with z = 0 (convenience for 2-D migration).

Implementation

Vector3.fromXY(this.x, this.y) : z = 0.0;