Skip to content

Commit fb5a092

Browse files
authored
Merge pull request mrdoob#16341 from linonetwo/type-camera-updateMatrixWorld
Make param's typing of updateMatrixWorld consistent
2 parents d13be28 + adc7e55 commit fb5a092

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/cameras/Camera.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ export class Camera extends Object3D {
2929

3030
getWorldDirection(target: Vector3): Vector3;
3131

32-
updateMatrixWorld(force: boolean): void;
32+
updateMatrixWorld(force?: boolean): void;
3333
}

Diff for: src/helpers/PlaneHelper.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ export class PlaneHelper extends LineSegments {
77
plane: Plane;
88
size: number;
99

10-
updateMatrixWorld(force: boolean): void;
10+
updateMatrixWorld(force?: boolean): void;
1111
}

0 commit comments

Comments
 (0)