Point3i constructor

Point3i(
  1. int x,
  2. int y,
  3. int z
)

Implementation

factory Point3i(int x, int y, int z) {
  final ptr = calloc<cvg.Point3i>()
    ..ref.x = x
    ..ref.y = y
    ..ref.z = z;
  return Point3i.fromPointer(ptr);
}