Vec4d constructor

Vec4d(
  1. double v1,
  2. double v2,
  3. double v3,
  4. double v4,
)

Implementation

factory Vec4d(double v1, double v2, double v3, double v4) {
  final p = calloc<cvg.Vec4d>()
    ..ref.val1 = v1
    ..ref.val2 = v2
    ..ref.val3 = v3
    ..ref.val4 = v4;
  return Vec4d._(p);
}