#NEWLINE# def multiplyVector3( self , vec ) : #NEWLINE# #INDENT# vx = vec [ 0 ] #NEWLINE# vy = vec [ 1 ] #NEWLINE# vz = vec [ 2 ] #NEWLINE# d = ( 1.0 / ( ( ( ( self . n41 * vx ) + ( self . n42 * vy ) ) + ( self . n43 * vz ) ) + self . n44 ) ) #NEWLINE# x = ( ( ( ( ( self . n11 * vx ) + ( self . n12 * vy ) ) + ( self . n13 * vz ) ) + self . n14 ) * d ) #NEWLINE# y = ( ( ( ( ( self . n21 * vx ) + ( self . n22 * vy ) ) + ( self . n23 * vz ) ) + self . n24 ) * d ) #NEWLINE# z = ( ( ( ( ( self . n31 * vx ) + ( self . n32 * vy ) ) + ( self . n33 * vz ) ) + self . n34 ) * d ) #NEWLINE# return [ x , y , z ]