Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
orthoProjection
Method · 0.95
scaleTextureUV
Method · 0.95
setStrokeWeightImpl
Method · 0.95
setShininessImpl
Method · 0.95
addLineSegment2D
Method · 0.80
Calls
1
abs
Method · 0.45
Tested by
no test coverage detected