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

Function xformMatrix

stackgl_modules/index.js:16806–16814  ·  view source on GitHub ↗
(m, v)

Source from the content-addressed store, hash-verified

16804module.exports = closestPointToPickLocation
16805
16806function xformMatrix(m, v) {
16807 var out = [0,0,0,0]
16808 for(var i=0; i<4; ++i) {
16809 for(var j=0; j<4; ++j) {
16810 out[j] += m[4*i + j] * v[i]
16811 }
16812 }
16813 return out
16814}
16815
16816function projectVertex(v, model, view, projection, resolution) {
16817 var p = xformMatrix(projection,

Callers 1

projectVertexFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…