-
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fixed SavePass constructor parameter being optional * fixed SavePass constructor parameter being optional * added to contributors table * added test to tsconfig * removed savepass from other files
- Loading branch information
Showing
5 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import * as THREE from 'three'; | ||
import { SavePass } from 'three/examples/jsm/postprocessing/SavePass'; | ||
|
||
let pass = new SavePass(); // $ExpectType SavePass | ||
let rt = pass.renderTarget; // $ExpectType WebGLRenderTarget | ||
|
||
pass = new SavePass(new THREE.WebGLRenderTarget(128, 128)); // $ExpectType SavePass | ||
rt = pass.renderTarget; // $ExpectType WebGLRenderTarget |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters