MCPcopy
hub / github.com/fogleman/ln / Div

Method Div

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

Source from the content-addressed store, hash-verified

66}
67
68func (a Vector) Div(b Vector) Vector {
69 return Vector{a.X / b.X, a.Y / b.Y, a.Z / b.Z}
70}
71
72func (a Vector) AddScalar(b float64) Vector {
73 return Vector{a.X + b, a.Y + b, a.Z + b}

Callers 2

FitInsideMethod · 0.80
IntersectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected