copyFromList static method

void copyFromList(
  1. Vec2D o,
  2. Float32List a
)

Implementation

static void copyFromList(Vec2D o, Float32List a) {
  o.x = a[0];
  o.y = a[1];
}