mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Merge pull request #4033 from bilou84/patch-1
threejs/three.d.ts: Make optional parameters actually optional
This commit is contained in:
Vendored
+5
-5
@@ -1211,11 +1211,11 @@ declare module THREE {
|
||||
|
||||
getObjectByProperty( name: string, value: string, recursive?: boolean ): Object3D;
|
||||
|
||||
getWorldPosition(optionalTarget: Vector3): Vector3;
|
||||
getWorldQuaternion(optionalTarget: Quaternion): Quaternion;
|
||||
getWorldRotation(optionalTarget: Euler): Euler;
|
||||
getWorldScale(optionalTarget: Vector3): Vector3;
|
||||
getWorldDirection(optionalTarget: Vector3): Vector3;
|
||||
getWorldPosition(optionalTarget?: Vector3): Vector3;
|
||||
getWorldQuaternion(optionalTarget?: Quaternion): Quaternion;
|
||||
getWorldRotation(optionalTarget?: Euler): Euler;
|
||||
getWorldScale(optionalTarget?: Vector3): Vector3;
|
||||
getWorldDirection(optionalTarget?: Vector3): Vector3;
|
||||
|
||||
/**
|
||||
* Translates object along arbitrary axis by distance.
|
||||
|
||||
Reference in New Issue
Block a user