Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ cartesianAddInPlace
Function
cartesianAddInPlace
external/.d3.js:10007–10009 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
10005
10006
// TODO return a
10007
function
cartesianAddInPlace(a, b) {
10008
a[0] += b[0], a[1] += b[1], a[2] += b[2];
10009
}
10010
10011
function
cartesianScale(vector, k) {
10012
return
[vector[0] * k, vector[1] * k, vector[2] * k];
Callers
1
intersect
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected