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

Function len_v

pymain.py:198–199  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

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
201cam = pyrender.Camera(x=-2.6842192755654612, y=3.6094236373901367, z=4.945387839223564, yaw=304.0, pitch=-20.0, roll=0.0, z_near=0.05, z_far=100.0, fov=90, fxaa=False, obj_buffer=True, mode=0)
202step = 2

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected