MCPcopy Index your code
hub / github.com/fogleman/ln / Min

Method Min

ln/vector.go:88–90  ·  view source on GitHub ↗
(b Vector)

Source from the content-addressed store, hash-verified

86}
87
88func (a Vector) Min(b Vector) Vector {
89 return Vector{math.Min(a.X, b.X), math.Min(a.Y, b.Y), math.Min(a.Z, b.Z)}
90}
91
92func (a Vector) Max(b Vector) Vector {
93 return Vector{math.Max(a.X, b.X), math.Max(a.Y, b.Y), math.Max(a.Z, b.Z)}

Callers 1

MinComponentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected