MCPcopy Create free account
hub / github.com/microsoft/SandDance / cartesianNormalizeInPlace

Function cartesianNormalizeInPlace

docs/app/js/sanddance-app.js:132272–132275  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

132270 ];
132271}
132272function cartesianNormalizeInPlace(d) {
132273 var l = (0, _mathJs.sqrt)(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);
132274 d[0] /= l, d[1] /= l, d[2] /= l;
132275}
132276
132277},{"./math.js":"cDOGy","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"ctR4z":[function(require,module,exports) {
132278var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected