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

Function B2Vec2Max

CommonB2Math.go:706–711  ·  view source on GitHub ↗
(a, b B2Vec2)

Source from the content-addressed store, hash-verified

704}
705
706func B2Vec2Max(a, b B2Vec2) B2Vec2 {
707 return MakeB2Vec2(
708 math.Max(a.X, b.X),
709 math.Max(a.Y, b.Y),
710 )
711}
712
713func B2Vec2Clamp(a, low, high B2Vec2) B2Vec2 {
714 return B2Vec2Max(

Callers 7

ComputeAABBMethod · 0.85
RayCastMethod · 0.85
CombineInPlaceMethod · 0.85
CombineTwoInPlaceMethod · 0.85
B2Vec2ClampFunction · 0.85
ComputeAABBMethod · 0.85
ComputeAABBMethod · 0.85

Calls 1

MakeB2Vec2Function · 0.85

Tested by

no test coverage detected