Vec3i.fromNative constructor

Vec3i.fromNative(
  1. Vec3i v
)

Implementation

factory Vec3i.fromNative(cvg.Vec3i v) {
  final p = calloc<cvg.Vec3i>()
    ..ref.val1 = v.val1
    ..ref.val2 = v.val2
    ..ref.val3 = v.val3;
  return Vec3i._(p);
}