mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
Add Cylindrical typings (#22659)
This commit is contained in:
committed by
Mohamed Hegazy
parent
98f1d85679
commit
e3c87baad7
13
types/three/three-core.d.ts
vendored
13
types/three/three-core.d.ts
vendored
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user