Lines Matching +defs:val +defs:other
176 def frac(val): return val.applyUnary(lambda x: x - math.floor(x)) argument
179 def exp2(val): return val.applyUnary(lambda x: math.pow(2.0, x)) argument
182 def log2(val): return val.applyUnary(lambda x: math.log(x, 2.0)) argument
185 def rsq(val): return val.applyUnary(lambda x: 1.0 / math.sqrt(x)) argument
188 def sign(val): return val.applyUnary(glslSign) argument
233 def applyBinary(self, func, other): return Scalar(func(self.x, other.x)) argument
235 def isEqual(self, other): assert isinstance(other, Scalar); return (self.x == other.x) argument
237 def expandVec(self, val): return val argument
305 def __add__(self, val): argument
311 def __sub__(self, val): argument
314 def __mul__(self, val): argument
326 def __div__(self, val): argument
352 def __add__(self, val): argument
355 def __sub__(self, val): argument
358 def __mul__(self, val): argument
361 def __div__(self, val): argument
373 def isEqual(self, other): argument
391 def __eq__(self, other): argument
394 def __ne__(self, other): argument
404 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y)) argument
406 def expandVec(self, val): return val.toVec2() argument
464 def __add__(self, val): argument
472 def __sub__(self, val): argument
475 def __mul__(self, val): argument
481 def __div__(self, val): argument
515 …def applyBinary(self, func, other): return Vec3(func(self.x, other.x), func(self.y, other.y), func… argument
517 def expandVec(self, val): return val.toVec3() argument
581 def __add__(self, val): argument
589 def __sub__(self, val): argument
592 def __mul__(self, val): argument
598 def __div__(self, val): argument
634 …def applyBinary(self, func, other): return Vec4(func(self.x, other.x), func(self.y, other.y), func… argument
636 def expandVec(self, val): return val.toVec4() argument
695 def __add__(self, val): argument
703 def __sub__(self, val): argument
706 def __mul__(self, val): argument
712 def __div__(self, val): argument
795 def isTypeEqual (self, other): argument
798 def isEqual(self, other): argument
802 def compMul(self, val): argument