def getVector3TransformedByMatrix(matrixTetragrid, vector3):
 if (matrixTetragrid == None):
  return vector3.copy()
 return Vector3(getTransformedByList(matrixTetragrid[0], vector3), getTransformedByList(matrixTetragrid[1], vector3), getTransformedByList(matrixTetragrid[2], vector3))

def getVector3TransformedByMatrix ( matrixTetragrid , vector3 ) : if ( matrixTetragrid == None ) : return vector3 . copy ( ) return Vector3 ( getTransformedByList ( matrixTetragrid [ 0 ] , vector3 ) , getTransformedByList ( matrixTetragrid [ 1 ] , vector3 ) , getTransformedByList ( matrixTetragrid [ 2 ] , vector3 ) )
get the vector3 multiplied by a matrix .