* Creates a new vec3 initialized with the given values * * @param {Number} x X component * @param {Number} y Y component * @param {Number} z Z component * @returns {vec3} a new 3D vector
(x, y, z)
| 25151 | * @returns {vec3} a new 3D vector |
| 25152 | */ |
| 25153 | function fromValues(x, y, z) { |
| 25154 | var out = new Float32Array(3) |
| 25155 | out[0] = x |
| 25156 | out[1] = y |
| 25157 | out[2] = z |
| 25158 | return out |
| 25159 | } |
| 25160 | |
| 25161 | /***/ }), |
| 25162 |
no outgoing calls
no test coverage detected
searching dependent graphs…