Vec8i constructor

Vec8i(
  1. int v1,
  2. int v2,
  3. int v3,
  4. int v4,
  5. int v5,
  6. int v6,
  7. int v7,
  8. int v8,
)

Implementation

factory Vec8i(int v1, int v2, int v3, int v4, int v5, int v6, int v7, int v8) {
  final p = calloc<cvg.Vec8i>()
    ..ref.val1 = v1
    ..ref.val2 = v2
    ..ref.val3 = v3
    ..ref.val4 = v4
    ..ref.val5 = v5
    ..ref.val6 = v6
    ..ref.val7 = v7
    ..ref.val8 = v8;
  return Vec8i._(p);
}