Skip to content

Commit 528ccf1

Browse files
committed
Accept null for scene and camera
1 parent 495b8ac commit 528ccf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/passes/GeometryPass.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export class GeometryPass extends Pass implements GeometryPassOptions, Selective
160160
* @param options - Additional options.
161161
*/
162162

163-
constructor(scene: Scene, camera: OrthographicCamera | PerspectiveCamera, {
163+
constructor(scene: Scene | null, camera: OrthographicCamera | PerspectiveCamera | null, {
164164
alpha = false,
165165
stencilBuffer = false,
166166
depthBuffer = true,

0 commit comments

Comments
 (0)