SimpleLocation3D

data class SimpleLocation3D(x: Double, y: Double, z: Double, direction: Vector)

Constructors

SimpleLocation3D
Link copied to clipboard
fun SimpleLocation3D(x: Number, y: Number, z: Number)

Functions

component1
Link copied to clipboard
operator fun component1(): Double
component2
Link copied to clipboard
operator fun component2(): Double
component3
Link copied to clipboard
operator fun component3(): Double
component4
Link copied to clipboard
operator fun component4(): Vector
copy
Link copied to clipboard
fun copy(x: Double, y: Double, z: Double, direction: Vector = vec(0, 0, 0)): SimpleLocation3D
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

chunk
Link copied to clipboard
val chunk: SimpleChunkLocation
direction
Link copied to clipboard
val direction: Vector
x
Link copied to clipboard
val x: Double
y
Link copied to clipboard
val y: Double
z
Link copied to clipboard
val z: Double

Extensions

toVector
Link copied to clipboard
fun SimpleLocation3D.toVector(): Vector
withWorld
Link copied to clipboard
fun SimpleLocation3D.withWorld(world: World): Location