Vector3

final case
class Vector3(x: Double, y: Double, z: Double)
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def *(other: Vector3): Vector3
def *(value: Double): Vector3
def +(other: Vector3): Vector3
def +(value: Double): Vector3
def -(other: Vector3): Vector3
def -(value: Double): Vector3
def /(other: Vector3): Vector3
def /(value: Double): Vector3
def clamp(min: Double, max: Double): Vector3
def distanceTo(other: Vector3): Double
def dot(other: Vector3): Double
def length: Double
def max(other: Vector3): Vector3
def max(value: Double): Vector3
def min(other: Vector3): Vector3
def min(value: Double): Vector3
def moveBy(amount: Vector3): Vector3
def moveBy(x: Double, y: Double, z: Double): Vector3
def moveTo(newPosition: Vector3): Vector3
def moveTo(x: Double, y: Double, z: Double): Vector3
def scaleBy(amount: Double): Vector3
def toList: List[Double]
def withX(newX: Double): Vector3
def withY(newY: Double): Vector3
def withZ(newZ: Double): Vector3
def ~==(other: Vector3): Boolean

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product