Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
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