parameters: (v)
docstring: Normalize 3d vector
docstring_summary: Normalize 3d vector
docstring_tokens: Normalize 3d vector
function: def normalize(v):
      """Normalize 3d vector"""
  
      l = math.sqrt(v[0]*v[0] + v[1]*v[1] + v[2]*v[2])
      if l:
          v[0] /= l
          v[1] /= l
          v[2] /= l
function_tokens: def normalize ( v ) : l = math . sqrt ( v [ 0 ] * v [ 0 ] + v [ 1 ] * v [ 1 ] + v [ 2 ] * v [ 2 ] ) if l : v [ 0 ] /= l v [ 1 ] /= l v [ 2 ] /= l