Vec3i constructor

Vec3i(
  1. int v1,
  2. int v2,
  3. int v3
)

Implementation

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