Add Cylindrical typings (#22659)

This commit is contained in:
Matthias Dailey
2018-01-04 12:23:38 -05:00
committed by Mohamed Hegazy
parent 98f1d85679
commit e3c87baad7

View File

@@ -3889,6 +3889,19 @@ export class Spherical {
setFromVector3(vec3: Vector3): Spherical;
}
export class Cylindrical {
constructor(radius?: number, theta?: number, y?: number);
radius: number;
theta: number;
y: number;
clone(): this;
copy(other: this): this;
set(radius: number, theta: number, y: number): this;
setFromVector3(vec3: Vector3): this;
}
/**
* Implementation of a quaternion. This is used for rotating things without incurring in the dreaded gimbal lock issue, amongst other advantages.
*