ffi/vector.py
def inverse(self): # TODO # {{{1
    "Calculate the inverse of the vector or quaternion"
    if self._has_w:
      return Vec(-self.x, -self.y, -self.z, self.w)
    else:
      # TODO
      pass
Calculate the inverse of the vector or quaternion
Calculate the inverse of the vector or quaternion
Calculate the inverse of the vector or quaternion
def inverse(self): 
    if self._has_w:
      return Vec(-self.x, -self.y, -self.z, self.w)
    else:
      pass
def inverse ( self ) : if self . _has_w : return Vec ( - self . x , - self . y , - self . z , self . w ) else : pass
Calculate the inverse of the vector or quaternion
Calculate the inverse of the vector or quaternion
# TODO # {{{1 "Calculate the inverse of the vector or quaternion" # TODO
self