(factor float32)
| 145 | } |
| 146 | |
| 147 | func (point Vector) Div(factor float32) Vector { |
| 148 | return Vector{point.X / factor, point.Y / factor} |
| 149 | } |
| 150 | |
| 151 | func (point Vector) Inverted() Vector { |
| 152 | return Vector{-point.X, -point.Y} |
no outgoing calls
no test coverage detected