MCPcopy Index your code
hub / github.com/benfry/processing4 / same

Method same

core/src/processing/opengl/PGraphicsOpenGL.java:4144–4146  ·  view source on GitHub ↗
(float a, float b)

Source from the content-addressed store, hash-verified

4142
4143
4144 protected static boolean same(float a, float b) {
4145 return Math.abs(a - b) < PGL.FLOAT_EPS;
4146 }
4147
4148
4149 protected static boolean diff(float a, float b) {

Callers 5

orthoProjectionMethod · 0.95
scaleTextureUVMethod · 0.95
setStrokeWeightImplMethod · 0.95
setShininessImplMethod · 0.95
addLineSegment2DMethod · 0.80

Calls 1

absMethod · 0.45

Tested by

no test coverage detected