Skip to content

Conversation

@WestLangley
Copy link
Collaborator

Currently, we have to do this:

var sc = new THREE.Vector4();

renderer.getScissor( sc ); // save scissor

. . .

setScissor( sc.x, sc.y, sc.z, sc.w ); // restore scissor

With this PR, this is also supported:

renderer.setScissor( sc );

@mrdoob mrdoob added this to the r102 milestone Feb 20, 2019
@mrdoob mrdoob merged commit e25ab6b into mrdoob:dev Feb 20, 2019
@mrdoob
Copy link
Owner

mrdoob commented Feb 20, 2019

Thanks!

@WestLangley WestLangley deleted the dev-set_scissor branch February 20, 2019 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants