Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/5zig/The-5zig-Mod
/ clamp
Method
clamp
Utils/src/eu/the5zig/util/Utils.java:243–245 ·
view source on GitHub ↗
(float f1, float f2, float f3)
Source
from the content-addressed store, hash-verified
241
}
242
243
public
static
float clamp(float f1, float f2, float f3) {
244
return
f1 < f2 ? f2 : (f1 > f3 ? f3 : f1);
245
}
246
247
/**
248
* Formats a String by time.
Callers
15
b
Method · 0.95
denormalizeValue
Method · 0.95
normalizeValue
Method · 0.95
snapToStepClamp
Method · 0.95
b
Method · 0.95
denormalizeValue
Method · 0.95
normalizeValue
Method · 0.95
snapToStepClamp
Method · 0.95
a
Method · 0.95
denormalizeValue
Method · 0.95
normalizeValue
Method · 0.95
snapToStepClamp
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected