// Span Creation Methods: public static SpanF span(double from, double to) { var ans = SpanF.Create(from, to); spanCheck(ans); return(ans); }
void ContextMenu_TestColorSystem() { int maxi = 10; double dm = 1.0 / maxi; for (int i = -maxi; i < maxi; i++) { var fi = ((double)i) / ((double)(maxi / 2)); var s = SpanF.Create(fi, fi + dm); var g = SpanAPI.spanColorSignedForGreen(s); Debug.Log("s=g: " + s + "=" + g); } }