mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
Merge remote-tracking branch 'remotes/mrdoob/dev' into dev
This commit is contained in:
@@ -63,6 +63,7 @@ More? [#three.js on irc.freenode.net](http://webchat.freenode.net/?channels=thre
|
||||
|
||||
### Featured projects ###
|
||||
|
||||
[](http://inear.se/beanstalk/)
|
||||
[](http://superfad.com/missioncontrol/)
|
||||
[](http://ro.me/)
|
||||
[](http://data-arts.appspot.com/globe/)
|
||||
|
||||
@@ -151,7 +151,7 @@ THREE.CanvasRenderer = function ( parameters ) {
|
||||
setBlending( THREE.NormalBlending );
|
||||
setOpacity( 1 );
|
||||
|
||||
_contextFillStyle = 'rgba(' + Math.floor( _clearColor.r * 255 ) + ',' + Math.floor( _clearColor.g * 255 ) + ',' + Math.floor( _clearColor.b * 255 ) + ',' + _clearOpacity + ')'
|
||||
_contextFillStyle = 'rgba(' + Math.floor( _clearColor.r * 255 ) + ',' + Math.floor( _clearColor.g * 255 ) + ',' + Math.floor( _clearColor.b * 255 ) + ',' + _clearOpacity + ')';
|
||||
_context.fillStyle = _contextFillStyle;
|
||||
_context.fillRect( _clearRect.getX(), _clearRect.getY(), _clearRect.getWidth(), _clearRect.getHeight() );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user