Vector3.fromOffset constructor

Vector3.fromOffset(
  1. Offset o
)

Create from a Dart Offset with z = 0.

Implementation

Vector3.fromOffset(Offset o) : x = o.dx, y = o.dy, z = 0.0;