Vec3w.fromNative constructor

Vec3w.fromNative(
  1. Vec3w v
)

Implementation

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