Skip to content

Commit

Permalink
Merge pull request #39 from trusktr/patch-1
Browse files Browse the repository at this point in the history
fix scope bug
  • Loading branch information
marcofugaro committed Apr 26, 2022
2 parents 896cbe6 + 324949a commit 366d7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ProjectedMaterial.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default class ProjectedMaterial extends THREE.MeshPhysicalMaterial {
})
}

#saveCameraProjectionMatrix() {
#saveCameraProjectionMatrix = () => {
this.uniforms.projectionMatrixCamera.value.copy(this.camera.projectionMatrix)

this.#saveDimensions()
Expand Down

0 comments on commit 366d7e6

Please sign in to comment.