Searched defs:Vec2 (Results 1 – 3 of 3) sorted by relevance
28 typealias Vec2 = Offset typealias30 fun Vec2.str(fmt: String = "%+.2f"): String = "<$fmt,$fmt>".format(x, y) in str() method32 fun Vec2(x: Float, y: Float): Vec2 = Offset(x, y) in str() method34 fun Vec2.mag(): Float { in str() method38 fun Vec2.distance(other: Vec2): Float { in distance() method42 fun Vec2.angle(): Float { in Vec2() method46 fun Vec2.dot(o: Vec2): Float { in Vec2() method50 fun Vec2.product(f: Float): Vec2 { in product() method58 fun Vec2.rotate(angle: Float, origin: Vec2 = Vec2.Zero): Offset { in rotate() method
2864 Value *Vec1, *Vec2, *Mask; in ParseFunctionBody() local
3125 Value *Vec1, *Vec2, *Mask; in ParseFunctionBody() local