(v3: Vec3 | Position)
| 5 | import { Vec3 } from './interfaces'; |
| 6 | |
| 7 | export function zSwap(v3: Vec3 | Position) { |
| 8 | const temp = -v3[1]; //negeative y to positive z |
| 9 | if(v3[0]===lineZ) { |
| 10 | v3[0] = 0; |
| 11 | } |
| 12 | v3[1] = v3[2]; |
| 13 | v3[2] = temp; |
| 14 | } |
no outgoing calls
no test coverage detected