mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-03 16:50:15 +00:00
Merge pull request #4033 from bilou84/patch-1
threejs/three.d.ts: Make optional parameters actually optional
This commit is contained in:
10
threejs/three.d.ts
vendored
10
threejs/three.d.ts
vendored
@@ -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