Vec3 constructor

Vec3([
  1. double x = 0,
  2. double y = 0,
  3. double z = 0
])

Vec3 is a vector with coordinates for 3d mapping

x the x coordinate

y the y coordinate

z the z coordinate

Implementation

Vec3([this.x = 0,this.y = 0,this.z = 0]);