MCPcopy Create free account
hub / github.com/SolarLune/masterplan / Add

Method Add

utils.go:135–137  ·  view source on GitHub ↗
(other Vector)

Source from the content-addressed store, hash-verified

133}
134
135func (point Vector) Add(other Vector) Vector {
136 return Vector{point.X + other.X, point.Y + other.Y}
137}
138
139func (point Vector) AddF(x, y float32) Vector {
140 return Vector{point.X + x, point.Y + y}

Callers 2

DrawMethod · 0.95
FocusOnMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected