Skip to content

Commit

Permalink
The missing Frustum.intersectsSprite function is added in three@r77
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed May 28, 2016
1 parent c8f6e8f commit 1fbbe4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/lib/three/Projector.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ THREE.Projector = function () {
} else if ( object instanceof THREE.Sprite ) {

if ( object.material.visible === false ) return;
//if ( object.frustumCulled === true && _frustum.intersectsSprite( object ) === false ) return;
if ( object.frustumCulled === true && _frustum.intersectsSprite( object ) === false ) return;

addObject( object );

Expand Down

0 comments on commit 1fbbe4e

Please sign in to comment.