Vec3d constructor

Vec3d(
  1. double v1,
  2. double v2,
  3. double v3
)

Implementation

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