* Copy the values from one vec2 to another * * @param {vec2} out the receiving vector * @param {vec2} a the source vector * @returns {vec2} out
(out, a)
| 16059 | |
| 16060 | |
| 16061 | function copy(out, a) { |
| 16062 | out[0] = a[0]; |
| 16063 | out[1] = a[1]; |
| 16064 | return out; |
| 16065 | } |
| 16066 | /** |
| 16067 | * Set the components of a vec2 to the given values |
| 16068 | * |
no test coverage detected