MCPcopy Create free account
hub / github.com/ICE27182/Python-3D-renderer / len_v

Function len_v

prefinal.py:133–134  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

131def v_dot_u(v, u):
132 return v[0]*u[0] + v[1]*u[1] + v[2]*u[2]
133def len_v(v):
134 return sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2])
135
136step = 2
137picked_obj = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected