Vec2b.fromNative constructor
Vec2b.fromNative(
- Vec2b v
Implementation
factory Vec2b.fromNative(cvg.Vec2b v) {
final p = calloc<cvg.Vec2b>()
..ref.val1 = v.val1
..ref.val2 = v.val2;
return Vec2b._(p);
}