Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/fogleman/ln
/ Scale
Method
Scale
ln/matrix.go:92–94 ·
view source on GitHub ↗
(v Vector)
Source
from the content-addressed store, hash-verified
90
}
91
92
func
(m Matrix) Scale(v Vector) Matrix {
93
return
Scale(v).Mul(m)
94
}
95
96
func
(m Matrix) Rotate(v Vector, a float64) Matrix {
97
return
Rotate(v, a).Mul(m)
Callers
3
RenderWithMatrix
Method · 0.80
FitInside
Method · 0.80
main
Function · 0.80
Calls
2
Scale
Function · 0.85
Mul
Method · 0.45
Tested by
no test coverage detected