(a, b)
| 132253 | return a[0] * b[0] + a[1] * b[1] + a[2] * b[2]; |
| 132254 | } |
| 132255 | function cartesianCross(a, b) { |
| 132256 | return [ |
| 132257 | a[1] * b[2] - a[2] * b[1], |
| 132258 | a[2] * b[0] - a[0] * b[2], |
| 132259 | a[0] * b[1] - a[1] * b[0] |
| 132260 | ]; |
| 132261 | } |
| 132262 | function cartesianAddInPlace(a, b) { |
| 132263 | a[0] += b[0], a[1] += b[1], a[2] += b[2]; |
| 132264 | } |
nothing calls this directly
no outgoing calls
no test coverage detected