Vec3

constructor(vector: Vec3)(source)

Creates a new vector by copying the coordinates from another vector.

Parameters

vector

The vector to copy.


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