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

Function rotate

stackgl_modules/index.js:7415–7427  ·  view source on GitHub ↗
(i, j, k, data)

Source from the content-addressed store, hash-verified

7413}
7414
7415function rotate(i, j, k, data) {
7416 i *= 2
7417 j *= 2
7418 k *= 2
7419 var x = data[i]
7420 var y = data[i+1]
7421 data[i] = data[j]
7422 data[i+1] = data[j+1]
7423 data[j] = data[k]
7424 data[j+1] = data[k+1]
7425 data[k] = x
7426 data[k+1] = y
7427}
7428
7429function shufflePivot(i, j, px, py, data) {
7430 i *= 2

Callers 1

quickSortFunction · 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…