Vector4F

data class Vector4F(val x: Float, val y: Float, val z: Float, val w: Float)

Constructors

Link copied to clipboard
constructor(xyz: Vector3F, w: Float)
constructor(x: Int, y: Int, z: Int, w: Int)
constructor(x: Double, y: Double, z: Double, w: Double)
constructor(x: Float, y: Float, z: Float, w: Float)

Types

Link copied to clipboard
object Companion

Properties

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

Only taking into accoount x, y, z

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val w: Float
Link copied to clipboard
val x: Float
Link copied to clipboard
Link copied to clipboard
val y: Float
Link copied to clipboard
val z: Float

Functions

Link copied to clipboard
Link copied to clipboard
fun copyTo(out: FloatArray, offset: Int = 0): FloatArray
Link copied to clipboard
operator fun div(v: Vector4F): Vector4F
operator fun div(v: Float): Vector4F
Link copied to clipboard
infix fun dot(v: Vector4F): Float
Link copied to clipboard
operator fun get(index: Int): Float
Link copied to clipboard
fun inv(): Vector4F

Vector4 with inverted (1f / v) components to this

Link copied to clipboard
fun isAlmostEquals(other: Vector4F, epsilon: Float = 1.0E-5f): Boolean
Link copied to clipboard
fun isNaN(): Boolean
Link copied to clipboard
operator fun minus(v: Vector4F): Vector4F
Link copied to clipboard
Link copied to clipboard
operator fun plus(v: Vector4F): Vector4F
Link copied to clipboard
operator fun rem(v: Vector4F): Vector4F
operator fun rem(v: Float): Vector4F
Link copied to clipboard
operator fun times(v: Vector4F): Vector4F
operator fun times(v: Float): Vector4F
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
Link copied to clipboard
operator fun unaryMinus(): Vector4F
Link copied to clipboard
operator fun unaryPlus(): Vector4F