Lines Matching +defs:val +defs:other

166     def frac(val): return val.applyUnary(lambda x: x - math.floor(x))  argument
169 def exp2(val): return val.applyUnary(lambda x: math.pow(2.0, x)) argument
172 def log2(val): return val.applyUnary(lambda x: math.log(x, 2.0)) argument
175 def rsq(val): return val.applyUnary(lambda x: 1.0 / math.sqrt(x)) argument
178 def sign(val): return val.applyUnary(glslSign) argument
220 def applyBinary(self, func, other): return Scalar(func(self.x, other.x)) argument
222 def isEqual(self, other): assert isinstance(other, Scalar); return (self.x == other.x) argument
224 def expandVec(self, val): return val argument
273 def __add__(self, val): argument
277 def __sub__(self, val): argument
280 def __mul__(self, val): argument
292 def __div__(self, val): argument
313 def isEqual(self, other): argument
338 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y)) argument
340 def expandVec(self, val): return val.toVec2() argument
388 def __add__(self, val): argument
396 def __sub__(self, val): argument
399 def __mul__(self, val): argument
405 def __div__(self, val): argument
424 …def applyBinary(self, func, other): return Vec3(func(self.x, other.x), func(self.y, other.y), func… argument
426 def expandVec(self, val): return val.toVec3() argument
480 def __add__(self, val): argument
488 def __sub__(self, val): argument
491 def __mul__(self, val): argument
497 def __div__(self, val): argument
516 …def applyBinary(self, func, other): return Vec4(func(self.x, other.x), func(self.y, other.y), func… argument
518 def expandVec(self, val): return val.toVec4() argument
567 def __add__(self, val): argument
575 def __sub__(self, val): argument
578 def __mul__(self, val): argument
584 def __div__(self, val): argument
646 def isTypeEqual (self, other): argument
649 def isEqual(self, other): argument
653 def compMul(self, val): argument