'Returns the transformation equations obtained from rotation matrix.'

def _rotation_trans_equations(self, matrix):

    trans_eq1 = (((matrix[0] * self.x) + (matrix[1] * self.y)) + (matrix[2] * self.z))
    trans_eq2 = (((matrix[3] * self.x) + (matrix[4] * self.y)) + (matrix[5] * self.z))
    trans_eq3 = (((matrix[6] * self.x) + (matrix[7] * self.y)) + (matrix[8] * self.z))
    return (trans_eq1, trans_eq2, trans_eq3)
