MCPcopy Index your code
hub / github.com/fogleman/ln / Mul

Method Mul

ln/vector.go:64–66  ·  view source on GitHub ↗
(b Vector)

Source from the content-addressed store, hash-verified

62}
63
64func (a Vector) Mul(b Vector) Vector {
65 return Vector{a.X * b.X, a.Y * b.Y, a.Z * b.Z}
66}
67
68func (a Vector) Div(b Vector) Vector {
69 return Vector{a.X / b.X, a.Y / b.Y, a.Z / b.Z}

Callers 2

AnchorMethod · 0.45
FitInsideMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected