Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SolarLune/masterplan
/ AddF
Method
AddF
utils.go:139–141 ·
view source on GitHub ↗
(x, y float32)
Source
from the content-addressed store, hash-verified
137
}
138
139
func
(point Vector) AddF(x, y float32) Vector {
140
return
Vector{point.X + x, point.Y + y}
141
}
142
143
func
(point Vector) Mult(factor float32) Vector {
144
return
Vector{point.X * factor, point.Y * factor}
Callers
3
Draw
Method · 0.95
Draw
Method · 0.95
Update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected