Vec4f constructor

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

Implementation

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