Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun <T : Vec<T>> dot(a: T, b: T): Double
fun dot(a: Vec2, b: Vec2): Double
Link copied to clipboard
fun <T : Vec<T>> equals(a: T, b: T, tolerance: Double): Boolean
Link copied to clipboard
fun from(ary: DoubleArray): Vec<*>
Link copied to clipboard
fun <T : Vec<T>> lerp(a: T, b: T, t: T): T
fun <T : Vec<T>> lerp(a: T, b: T, t: Double): T
fun lerp(a: Vec2, b: Vec2, t: Double): Vec2
fun lerp(a: Vec2, b: Vec2, t: Vec2): Vec2