MCPcopy Index your code
hub / github.com/processing/processing / same

Method same

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

Source from the content-addressed store, hash-verified

4177
4178
4179 protected static boolean same(float a, float b) {
4180 return Math.abs(a - b) < PGL.FLOAT_EPS;
4181 }
4182
4183
4184 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