Vec6i.fromNative constructor

Vec6i.fromNative(
  1. Vec6i v
)

Implementation

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