Vector3F

data class Vector3F(val x: Float, val y: Float, val z: Float) : IsAlmostEqualsF<Vector3F>

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

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

Functions

Link copied to clipboard
Link copied to clipboard
infix fun cross(v: Vector3F): Vector3F
Link copied to clipboard
operator fun div(v: Vector3F): Vector3F
operator fun div(v: Double): Vector3F
operator fun div(v: Float): Vector3F
operator fun div(v: Int): Vector3F
Link copied to clipboard
infix fun dot(v: Vector3F): Float
Link copied to clipboard
operator fun get(index: Int): Float
Link copied to clipboard
fun inv(): Vector3F

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

Link copied to clipboard
open override fun isAlmostEquals(other: Vector3F, epsilon: Float): Boolean
Link copied to clipboard
fun isNaN(): Boolean
Link copied to clipboard
operator fun minus(v: Vector3F): Vector3F
Link copied to clipboard
Link copied to clipboard
operator fun plus(v: Vector3F): Vector3F
Link copied to clipboard
fun reflected(surfaceNormal: Vector3F): Vector3F
Link copied to clipboard
operator fun rem(v: Vector3F): Vector3F
operator fun rem(v: Double): Vector3F
operator fun rem(v: Float): Vector3F
operator fun rem(v: Int): Vector3F
Link copied to clipboard
operator fun times(v: Vector3F): Vector3F
operator fun times(v: Double): Vector3F
operator fun times(v: Float): Vector3F
operator fun times(v: Int): Vector3F
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun toVector4(w: Float = 1.0f): Vector4F
Link copied to clipboard
operator fun unaryMinus(): Vector3F
Link copied to clipboard
operator fun unaryPlus(): Vector3F