#NEWLINE# def dot( vec1 , vec2 ) : #NEWLINE# #INDENT# ' Function performs the dot vector multiplication of 2\n        vector instances and returning a new vector instance equal to\n        the dot product of given vectors' #NEWLINE# i = ( vec1 . x * vec2 . x ) #NEWLINE# j = ( vec1 . y * vec2 . y ) #NEWLINE# k = ( vec1 . z * vec2 . z ) #NEWLINE# dot = ( ( i + j ) + k ) #NEWLINE# return dot