Package-level declarations

Operator functions and extensions for working with vectors

Functions

Link copied to clipboard
operator fun Vec3i.compareTo(n: Number): Int
operator fun Vec3.compareTo(n: Number): Int
operator fun Vec3.compareTo(vec: Vec3): Int
Link copied to clipboard
operator fun Vec3i.component1(): Int
operator fun Vec3.component1(): Double
Link copied to clipboard
operator fun Vec3i.component2(): Int
operator fun Vec3.component2(): Double
Link copied to clipboard
operator fun Vec3i.component3(): Int
operator fun Vec3.component3(): Double
Link copied to clipboard
operator fun Vec3i.div(n: Number): Vec3i
operator fun Vec3i.div(vec: Vec3i): Vec3i
operator fun Vec3.div(n: Number): Vec3
operator fun Vec3.div(vec: Vec3): Vec3
Link copied to clipboard
inline operator fun <T : Vec3i> T.minus(n: Number): T
inline operator fun <T : Vec3i> T.minus(vec: Vec3i): T
operator fun Vec3.minus(n: Number): Vec3
operator fun Vec3.minus(vec: Vec3): Vec3
Link copied to clipboard
operator fun Vec3i.not(): Vec3i
operator fun Vec3.not(): Vec3
Link copied to clipboard
inline operator fun <T : Vec3i> T.plus(n: Number): T
inline operator fun <T : Vec3i> T.plus(vec: Vec3i): T
operator fun Vec3.plus(n: Number): Vec3
operator fun Vec3.plus(vec: Vec3): Vec3
Link copied to clipboard
operator fun Vec3i.times(n: Number): Vec3i
operator fun Vec3i.times(vec: Vec3i): Vec3i
operator fun Vec3.times(n: Number): Vec3
operator fun Vec3.times(vec: Vec3): Vec3