Vec3f constructor

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

Implementation

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