MCPcopy Create free account
hub / github.com/Milkyroad/SCiPNET / hue

Function hue

public/src/ex_file/scripts/t3-rs-geo.umd-es2015.js:47124–47127  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

47122}
47123
47124function hue(a, b) {
47125 var d = b - a;
47126 return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);
47127}
47128
47129function gamma(y) {
47130 return (y = +y) === 1 ? nogamma : function(a, b) {

Callers

nothing calls this directly

Calls 2

linearFunction · 0.85
constantFunction · 0.85

Tested by

no test coverage detected