* Set the components of a vec2 to zero * * @param {vec2} out the receiving vector * @returns {vec2} out
(out)
| 16547 | |
| 16548 | |
| 16549 | function zero(out) { |
| 16550 | out[0] = 0.0; |
| 16551 | out[1] = 0.0; |
| 16552 | return out; |
| 16553 | } |
| 16554 | /** |
| 16555 | * Returns a string representation of a vector |
| 16556 | * |