We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27151c8 commit a70d486Copy full SHA for a70d486
src/renderers/common/QuadMesh.js
@@ -33,9 +33,6 @@ class QuadGeometry extends BufferGeometry {
33
34
}
35
36
-const _geometry = /*@__PURE__*/ new QuadGeometry();
37
-
38
39
/**
40
* This module is a helper for passes which need to render a full
41
* screen effect which is quite common in context of post processing.
@@ -56,7 +53,7 @@ class QuadMesh extends Mesh {
56
53
*/
57
54
constructor( material = null ) {
58
55
59
- super( _geometry, material );
+ super( new QuadGeometry(), material );
60
61
62
* The camera to render the quad mesh with.
0 commit comments