ffi/vector.py
def absolute(self): # {{{1
    "Return a vector with all components positive"
    v = Vec()
    v.x = abs(self.x)
    v.y = abs(self.y)
    v.z = abs(self.z)
    if self._has_w:
      v.w = abs(self.w)
    return v
Return a vector with all components positive
Return a vector with all components positive
Return a vector with all components positive
def absolute(self): 
    v = Vec()
    v.x = abs(self.x)
    v.y = abs(self.y)
    v.z = abs(self.z)
    if self._has_w:
      v.w = abs(self.w)
    return v
def absolute ( self ) : v = Vec ( ) v . x = abs ( self . x ) v . y = abs ( self . y ) v . z = abs ( self . z ) if self . _has_w : v . w = abs ( self . w ) return v
Return a vector with all components positive
Return a vector with all components positive
# {{{1 "Return a vector with all components positive"
self