MCPcopy Index your code
hub / github.com/plotly/plotly.js / fromValues

Function fromValues

stackgl_modules/index.js:25153–25159  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

25151 * @returns {vec3} a new 3D vector
25152 */
25153function 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

Callers 1

angleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…