v3Cross static method

List<double> v3Cross(
  1. List<double> a,
  2. List<double> b
)

Implementation

static List<double> v3Cross(List<double> a, List<double> b) {
  return [
    a[1] * b[2] - a[2] * b[1],
    a[2] * b[0] - a[0] * b[2],
    a[0] * b[1] - a[1] * b[0]
  ];
}