Int2

data class Int2(var x: Int = 0, var y: Int = 0)

Constructors

Link copied to clipboard
constructor(x: Int = 0, y: Int = 0)
constructor(v: Int)
constructor(v: Int2)

Properties

Link copied to clipboard
var g: Int
Link copied to clipboard
var r: Int
Link copied to clipboard
var rg: Int2
Link copied to clipboard
var s: Int
Link copied to clipboard
var st: Int2
Link copied to clipboard
var t: Int
Link copied to clipboard
var x: Int
Link copied to clipboard
var xy: Int2
Link copied to clipboard
var y: Int

Functions

Link copied to clipboard
operator fun dec(): Int2
Link copied to clipboard
inline operator fun div(v: Int2): Int2
inline operator fun div(v: Int): Int2
Link copied to clipboard
infix inline fun Int2.eq(b: Int2): Bool2
infix inline fun Int2.eq(b: Int): Bool2
Link copied to clipboard
operator fun get(index: VectorComponent): Int
operator fun get(index: Int): Int
operator fun get(index1: VectorComponent, index2: VectorComponent): Int2
operator fun get(index1: Int, index2: Int): Int2
Link copied to clipboard
infix inline fun Int2.gt(b: Int2): Bool2
infix inline fun Int2.gt(b: Int): Bool2
Link copied to clipboard
infix inline fun Int2.gte(b: Int2): Bool2
infix inline fun Int2.gte(b: Int): Bool2
Link copied to clipboard
operator fun inc(): Int2
Link copied to clipboard
inline operator fun invoke(index: Int): Int
Link copied to clipboard
infix inline fun Int2.lt(b: Int2): Bool2
infix inline fun Int2.lt(b: Int): Bool2
Link copied to clipboard
infix inline fun Int2.lte(b: Int2): Bool2
infix inline fun Int2.lte(b: Int): Bool2
Link copied to clipboard
inline operator fun minus(v: Int2): Int2
inline operator fun minus(v: Int): Int2
Link copied to clipboard
infix inline fun Int2.neq(b: Int2): Bool2
infix inline fun Int2.neq(b: Int): Bool2
Link copied to clipboard
inline operator fun plus(v: Int2): Int2
inline operator fun plus(v: Int): Int2
Link copied to clipboard
operator fun set(index: VectorComponent, v: Int)
operator fun set(index: Int, v: Int)
operator fun set(index1: VectorComponent, index2: VectorComponent, v: Int)
operator fun set(index1: Int, index2: Int, v: Int)
Link copied to clipboard
inline operator fun times(v: Int2): Int2
inline operator fun times(v: Int): Int2
Link copied to clipboard
Link copied to clipboard
inline fun transform(block: (Int) -> Int): Int2
Link copied to clipboard
operator fun unaryMinus(): Int2