Vector4

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

Value members

Concrete methods

def *(other: Vector4): Vector4
def *(value: Double): Vector4
def +(other: Vector4): Vector4
def +(value: Double): Vector4
def -(other: Vector4): Vector4
def -(value: Double): Vector4
def /(other: Vector4): Vector4
def /(value: Double): Vector4
def abs: Vector4
def clamp(min: Double, max: Double): Vector4
def distanceTo(other: Vector4): Double
def dot(other: Vector4): Double
def length: Double
def max(other: Vector4): Vector4
def max(value: Double): Vector4
def min(other: Vector4): Vector4
def min(value: Double): Vector4
def moveBy(amount: Vector4): Vector4
def moveBy(x: Double, y: Double, z: Double, w: Double): Vector4
def moveTo(newPosition: Vector4): Vector4
def moveTo(x: Double, y: Double, z: Double, w: Double): Vector4
def scaleBy(vec: Vector4): Vector4
def scaleBy(amount: Double): Vector4
def toList: List[Double]
override def toString: String
Definition Classes
Any
def transform(matrix4: Matrix4): Vector4
def withW(newW: Double): Vector4
def withX(newX: Double): Vector4
def withY(newY: Double): Vector4
def withZ(newZ: Double): Vector4
def ~==(other: Vector4): Boolean

Inherited methods

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