Vec2D.fromValues constructor

Vec2D.fromValues(
  1. double x,
  2. double y
)

Implementation

Vec2D.fromValues(double x, double y) : _buffer = Float32List.fromList([x, y]);