MCPcopy Create free account
hub / github.com/ByteArena/box2d / MinInt

Function MinInt

CommonUtils.go:3–8  ·  view source on GitHub ↗
(x, y int)

Source from the content-addressed store, hash-verified

1package box2d
2
3func MinInt(x, y int) int {
4 if x < y {
5 return x
6 }
7 return y
8}
9
10func MaxInt(x, y int) int {
11 if x > y {

Callers 2

SetMethod · 0.85
QueryCallbackMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected