setFromCartesianCoords method
Implementation
Cylindrical setFromCartesianCoords(num x, num y, num z) {
radius = Math.sqrt(x * x + z * z);
theta = Math.atan2(x, z);
this.y = y;
return this;
}
Cylindrical setFromCartesianCoords(num x, num y, num z) {
radius = Math.sqrt(x * x + z * z);
theta = Math.atan2(x, z);
this.y = y;
return this;
}