Vec6f.fromNative constructor

Vec6f.fromNative(
  1. Vec6f v
)

Implementation

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