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

Function len_v

pyrender.py:21–22  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

19def v_dot_u(v, u):
20 return v[0]*u[0] + v[1]*u[1] + v[2]*u[2]
21def len_v(v):
22 return sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2])
23
24
25class Object:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected