MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / alpha

Method alpha

src/main/java/trace/util/TCB3.java:159–163  ·  view source on GitHub ↗
(double x, Node a, Node b)

Source from the content-addressed store, hash-verified

157 }
158
159 private double alpha(double x, Node a, Node b) {
160 if (a.x == b.x)
161 return 0.5f;
162 return (x - a.x) / (b.x - a.x);
163 }
164
165 public void clean() {
166 if (!dirty)

Callers 3

bracketMethod · 0.95
d3.min.jsFile · 0.80
jquery.color.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected