MCPcopy 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
92func (m Matrix) Scale(v Vector) Matrix {
93 return Scale(v).Mul(m)
94}
95
96func (m Matrix) Rotate(v Vector, a float64) Matrix {
97 return Rotate(v, a).Mul(m)

Callers 3

RenderWithMatrixMethod · 0.80
FitInsideMethod · 0.80
mainFunction · 0.80

Calls 2

ScaleFunction · 0.85
MulMethod · 0.45

Tested by

no test coverage detected