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

Function v_dot_u

pymain.py:196–197  ·  view source on GitHub ↗
(v, u)

Source from the content-addressed store, hash-verified

194from time import time
195
196def v_dot_u(v, u):
197 return v[0]*u[0] + v[1]*u[1] + v[2]*u[2]
198def len_v(v):
199 return pyrender.sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2])
200

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected