(b Vector)
| 86 | } |
| 87 | |
| 88 | func (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 | |
| 92 | func (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)} |