Vec4i constructor

Vec4i(
  1. int v1,
  2. int v2,
  3. int v3,
  4. int v4,
)

Implementation

factory Vec4i(int v1, int v2, int v3, int v4) {
  final p = calloc<cvg.Vec4i>()
    ..ref.val1 = v1
    ..ref.val2 = v2
    ..ref.val3 = v3
    ..ref.val4 = v4;
  return Vec4i._(p);
}