Creates a new Cylindrical
Distance from the Y axis
Azimuthal angle (radians) measured from +Z
Height above the XZ plane
Distance from the Y axis
Angle in radians around the Y axis, measured from +Z toward +X
ReadonlytypeNames the shape without an instanceof check, like the type on pixi's 2D shapes
Height above the XZ plane
Copies other into this instance
The coordinates to copy from
This instance for chaining
Copies this instance into target and returns it
The instance to copy into
The given target
Returns true when radius, theta and y match other exactly (no epsilon tolerance)
The coordinates to compare with
Whether all components match
Sets this instance from the Cartesian point v
The Cartesian point to convert
This instance for chaining
Advanced
Returns a string representation of these coordinates
A string in the form [@pixi/3d/math:Cylindrical radius=1 theta=0 y=0]
A point given as
radius,thetaandy: its distance from the Y axis, its angle around that axis measured from +Z toward +X, and its heightUse it to lay things out around a vertical axis, such as a ring of pillars or a spiral staircase, then convert back with Vector3#setFromCylindrical.
Example