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