setFromCylindricalCoords method

Vector3 setFromCylindricalCoords(
  1. double radius,
  2. double theta,
  3. double y
)

Implementation

Vector3 setFromCylindricalCoords(double radius, double theta, double y) {
  x = radius * Math.sin(theta);
  this.y = y;
  z = radius * Math.cos(theta);

  return this;
}