Vec6d.fromNative constructor

Vec6d.fromNative(
  1. Vec6d v
)

Implementation

factory Vec6d.fromNative(cvg.Vec6d v) {
  final p = calloc<cvg.Vec6d>()
    ..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 Vec6d._(p);
}