Vec3

constructor(x: Double, y: Double, z: Double)


constructor()

Constructs a three-component vector with X, Y and Z all 0.


constructor(vector: Vec3)

Constructs a three-component vector with the X, Y and Z of a specified vector.

Parameters

vector

the vector specifying the components